upgrade svelte

This commit is contained in:
Nolan Lawson 2018-03-15 23:01:38 -07:00
parent e4572a8066
commit 73b53c2afd
3 changed files with 6 additions and 6 deletions

6
package-lock.json generated
View File

@ -9259,9 +9259,9 @@
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
}, },
"svelte": { "svelte": {
"version": "1.54.0", "version": "1.57.4",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-1.54.0.tgz", "resolved": "https://registry.npmjs.org/svelte/-/svelte-1.57.4.tgz",
"integrity": "sha512-zPq96jO0KKrtOcV9IvDVRiWmQ69B9ICfIlyPBEfDR4QTH1jXGDXhuAhXjfV/UO3atvvkHe6BpSRhRi7tD7tYKQ==" "integrity": "sha512-ghGwigNFin+p4tPRLgUTIDVmf5sk7pRNJNr/TQvqhRYBKokAuc20/B0NuxC+6g4nnTlMfUpg82ps9gc78cUrEQ=="
}, },
"svelte-extras": { "svelte-extras": {
"version": "1.6.0", "version": "1.6.0",

View File

@ -58,7 +58,7 @@
"standard": "^10.0.3", "standard": "^10.0.3",
"stringz": "^0.4.0", "stringz": "^0.4.0",
"style-loader": "^0.19.1", "style-loader": "^0.19.1",
"svelte": "^1.54.0", "svelte": "^1.57.4",
"svelte-extras": "^1.6.0", "svelte-extras": "^1.6.0",
"svelte-loader": "^2.3.3", "svelte-loader": "^2.3.3",
"svelte-transitions": "^1.1.1", "svelte-transitions": "^1.1.1",

View File

@ -13,7 +13,7 @@ test('modal preserves focus', async t => {
await t.click(getNthStatus(9).find('.play-video-button')) await t.click(getNthStatus(9).find('.play-video-button'))
.click(closeDialogButton) .click(closeDialogButton)
.expect(modalDialogContents.exists).notOk() .expect(modalDialogContents.exists).notOk()
.expect(getActiveElementClass()).eql('play-video-button') .expect(getActiveElementClass()).contains('play-video-button')
}) })
test('timeline preserves focus', async t => { test('timeline preserves focus', async t => {
@ -23,7 +23,7 @@ test('timeline preserves focus', async t => {
await goBack() await goBack()
await t.expect(getUrl()).eql('http://localhost:4002/') 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 => { test('timeline link preserves focus', async t => {