diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-12-22 14:45:26 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-12-22 14:45:26 +0900 |
commit | 65a20a9fc43a20664e7d90de5d266ec134f9020a (patch) | |
tree | 7172bfb0b1992e9d2c9cc35f0c7ea43dee0a9af4 /test | |
parent | b1a6f374dca078dee2406ebe049715b826e37ca2 (diff) |
Enable addon on blacklisted sites
Diffstat (limited to 'test')
-rw-r--r-- | test/shared/settings/Blacklist.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shared/settings/Blacklist.test.ts b/test/shared/settings/Blacklist.test.ts index dfd036e..bcddf18 100644 --- a/test/shared/settings/Blacklist.test.ts +++ b/test/shared/settings/Blacklist.test.ts @@ -132,7 +132,7 @@ describe('Blacklist', () => { { url: 'github.com', keys: ['j', 'k'] }, ]); - expect(blacklist.includeKey(new URL('https://google.com'), Key.fromMapKey('j'))).to.be.true; + expect(blacklist.includeKey(new URL('https://google.com'), Key.fromMapKey('j'))).to.be.false; expect(blacklist.includeKey(new URL('https://github.com'), Key.fromMapKey('j'))).to.be.true; expect(blacklist.includeKey(new URL('https://github.com'), Key.fromMapKey('a'))).to.be.false; }); |