aboutsummaryrefslogtreecommitdiff
path: root/e2e/command_winopen.test.ts
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-09-29 00:49:24 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-09-29 00:52:56 +0000
commit9f0bc5732823505c91ce6b5ba3aa8e4b60ac93f6 (patch)
treef3a75c0b41d8fe2b1e6ca730501e36cee5701705 /e2e/command_winopen.test.ts
parent1b92be636008e9211f460479e246331ba4a1f8f1 (diff)
Remove deprecated assert
Diffstat (limited to 'e2e/command_winopen.test.ts')
-rw-r--r--e2e/command_winopen.test.ts24
1 files changed, 12 insertions, 12 deletions
diff --git a/e2e/command_winopen.test.ts b/e2e/command_winopen.test.ts
index fa52672..95a0b6a 100644
--- a/e2e/command_winopen.test.ts
+++ b/e2e/command_winopen.test.ts
@@ -53,11 +53,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, server.url('/google?q=an%20apple'))
+ assert.strictEqual(url.href, server.url('/google?q=an%20apple'))
});
});
@@ -67,11 +67,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, server.url('/yahoo?q=an%20apple'))
+ assert.strictEqual(url.href, server.url('/yahoo?q=an%20apple'))
});
});
@@ -81,11 +81,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, server.url('/google?q='))
+ assert.strictEqual(url.href, server.url('/google?q='))
});
});
@@ -95,11 +95,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, server.url('/yahoo?q='))
+ assert.strictEqual(url.href, server.url('/yahoo?q='))
});
});
@@ -109,11 +109,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, 'http://example.com/')
+ assert.strictEqual(url.href, 'http://example.com/')
});
});
@@ -123,11 +123,11 @@ describe("winopen command test", () => {
await eventually(async() => {
let wins = await browser.windows.getAll();
- assert.equal(wins.length, 2);
+ assert.strictEqual(wins.length, 2);
let tabs = await browser.tabs.query({ windowId: wins[1].id });
let url = new URL(tabs[0].url);
- assert.equal(url.href, 'https://example.com/')
+ assert.strictEqual(url.href, 'https://example.com/')
});
});
});