aboutsummaryrefslogtreecommitdiff
path: root/e2e/repeat.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/repeat.test.ts
parent1b92be636008e9211f460479e246331ba4a1f8f1 (diff)
Remove deprecated assert
Diffstat (limited to 'e2e/repeat.test.ts')
-rw-r--r--e2e/repeat.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2e/repeat.test.ts b/e2e/repeat.test.ts
index 9bd55fe..b62272f 100644
--- a/e2e/repeat.test.ts
+++ b/e2e/repeat.test.ts
@@ -37,7 +37,7 @@ describe("tab test", () => {
await eventually(async() => {
let current = await browser.tabs.query({ url: `*://*/newtab` });
- assert.equal(current.length, 1);
+ assert.strictEqual(current.length, 1);
});
page = await Page.currentContext(webdriver);
@@ -45,7 +45,7 @@ describe("tab test", () => {
await eventually(async() => {
let current = await browser.tabs.query({ url: `*://*/newtab` });
- assert.equal(current.length, 2);
+ assert.strictEqual(current.length, 2);
});
});
@@ -60,7 +60,7 @@ describe("tab test", () => {
await eventually(async() => {
let current = await browser.tabs.query({});
- assert.equal(current.length, before.length - 1);
+ assert.strictEqual(current.length, before.length - 1);
});
await browser.tabs.update(before[2].id, { active: true });
@@ -69,7 +69,7 @@ describe("tab test", () => {
await eventually(async() => {
let current = await browser.tabs.query({});
- assert.equal(current.length, before.length - 2);
+ assert.strictEqual(current.length, before.length - 2);
});
});
});