diff --git a/package-lock.json b/package-lock.json index f4826fb..14352b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9259,9 +9259,9 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" }, "svelte": { - "version": "1.54.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-1.54.0.tgz", - "integrity": "sha512-zPq96jO0KKrtOcV9IvDVRiWmQ69B9ICfIlyPBEfDR4QTH1jXGDXhuAhXjfV/UO3atvvkHe6BpSRhRi7tD7tYKQ==" + "version": "1.57.4", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-1.57.4.tgz", + "integrity": "sha512-ghGwigNFin+p4tPRLgUTIDVmf5sk7pRNJNr/TQvqhRYBKokAuc20/B0NuxC+6g4nnTlMfUpg82ps9gc78cUrEQ==" }, "svelte-extras": { "version": "1.6.0", diff --git a/package.json b/package.json index 28d6b92..246714e 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "standard": "^10.0.3", "stringz": "^0.4.0", "style-loader": "^0.19.1", - "svelte": "^1.54.0", + "svelte": "^1.57.4", "svelte-extras": "^1.6.0", "svelte-loader": "^2.3.3", "svelte-transitions": "^1.1.1", diff --git a/tests/spec/010-focus.js b/tests/spec/010-focus.js index 644384e..05da622 100644 --- a/tests/spec/010-focus.js +++ b/tests/spec/010-focus.js @@ -13,7 +13,7 @@ test('modal preserves focus', async t => { await t.click(getNthStatus(9).find('.play-video-button')) .click(closeDialogButton) .expect(modalDialogContents.exists).notOk() - .expect(getActiveElementClass()).eql('play-video-button') + .expect(getActiveElementClass()).contains('play-video-button') }) test('timeline preserves focus', async t => { @@ -23,7 +23,7 @@ test('timeline preserves focus', async t => { await goBack() await t.expect(getUrl()).eql('http://localhost:4002/') - .expect(getActiveElementClass()).eql('status-article status-in-timeline') + .expect(getActiveElementClass()).contains('status-article status-in-timeline') }) test('timeline link preserves focus', async t => {