diff options
Diffstat (limited to 'e2e/options.test.ts')
-rw-r--r-- | e2e/options.test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/e2e/options.test.ts b/e2e/options.test.ts index 7cf1ecd..8d5023f 100644 --- a/e2e/options.test.ts +++ b/e2e/options.test.ts @@ -47,14 +47,14 @@ describe("options page", () => { await jsonPage.updateSettings(`{ "blacklist": [ "https://example.com" ] }`) let { settings } = await browser.storage.local.get('settings'); - assert.equal(settings.source, 'json') - assert.equal(settings.json, '{ "blacklist": [ "https://example.com" ] } ') + assert.strictEqual(settings.source, 'json') + assert.strictEqual(settings.json, '{ "blacklist": [ "https://example.com" ] } ') await jsonPage.updateSettings(`invalid json`); settings = (await browser.storage.local.get('settings')).settings; - assert.equal(settings.source, 'json') - assert.equal(settings.json, '{ "blacklist": [ "https://example.com" ] } ') + assert.strictEqual(settings.source, 'json') + assert.strictEqual(settings.json, '{ "blacklist": [ "https://example.com" ] } ') let message = await jsonPage.getErrorMessage(); assert.ok(message.startsWith('SyntaxError:')) @@ -75,7 +75,7 @@ describe("options page", () => { await eventually(async() => { let y = await page.getScrollY(); - assert.equal(y, 640); + assert.strictEqual(y, 640); }); }) }); |