aboutsummaryrefslogtreecommitdiff
path: root/test/main.ts
diff options
context:
space:
mode:
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();