diff options
author | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-09-29 00:49:24 +0000 |
---|---|---|
committer | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-09-29 00:52:56 +0000 |
commit | 9f0bc5732823505c91ce6b5ba3aa8e4b60ac93f6 (patch) | |
tree | f3a75c0b41d8fe2b1e6ca730501e36cee5701705 /e2e/command_tabopen.test.ts | |
parent | 1b92be636008e9211f460479e246331ba4a1f8f1 (diff) |
Remove deprecated assert
Diffstat (limited to 'e2e/command_tabopen.test.ts')
-rw-r--r-- | e2e/command_tabopen.test.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/e2e/command_tabopen.test.ts b/e2e/command_tabopen.test.ts index bc5d13e..9d3da9a 100644 --- a/e2e/command_tabopen.test.ts +++ b/e2e/command_tabopen.test.ts @@ -54,9 +54,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, server.url('/google?q=an%20apple') ) + assert.strictEqual(url.href, server.url('/google?q=an%20apple') ) }); }); @@ -66,9 +66,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, server.url('/yahoo?q=an%20apple')) + assert.strictEqual(url.href, server.url('/yahoo?q=an%20apple')) }); }); @@ -78,9 +78,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, server.url('/google?q=')) + assert.strictEqual(url.href, server.url('/google?q=')) }); }); @@ -90,9 +90,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, server.url('/yahoo?q=')) + assert.strictEqual(url.href, server.url('/yahoo?q=')) }); }); @@ -102,9 +102,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, 'http://example.com/') + assert.strictEqual(url.href, 'http://example.com/') }); }); @@ -114,9 +114,9 @@ describe("tabopen command test", () => { await eventually(async() => { let tabs = await browser.tabs.query({}); - assert.equal(tabs.length, 2); + assert.strictEqual(tabs.length, 2); let url = new URL(tabs[1].url); - assert.equal(url.href, 'https://example.com/') + assert.strictEqual(url.href, 'https://example.com/') }); }); }); |