aboutsummaryrefslogtreecommitdiff
path: root/test/main.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:42:48 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:48:39 +0900
commitda72c2ddd916d79d134662e3985b53a4ac78af7a (patch)
tree5367c48648e2018f55f12d847baba94559e10040 /test/main.ts
parent029d5365e7d74e87375fccb8db097b7c2df3f7f4 (diff)
Fix lint rules on tests
Diffstat (limited to 'test/main.ts')
-rw-r--r--test/main.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/main.ts b/test/main.ts
index 433b531..c985546 100644
--- a/test/main.ts
+++ b/test/main.ts
@@ -1,8 +1,6 @@
import 'reflect-metadata';
import { expect } from 'chai';
-
-const browserFake = require('webextensions-api-fake');
-const browser = browserFake();
+import browserFake from 'webextensions-api-fake';
global.expect = expect;
-global.browser = browser;
+global.browser = browserFake();