aboutsummaryrefslogtreecommitdiff
path: root/test/main.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 21:34:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 21:34:08 +0900
commitcdfd54ed99087dc4a7a3fd13865849ff9ce9e8ba (patch)
treeca18790151d4e6cf003367f0dd87c27371d2b2c8 /test/main.ts
parentc7803e7c2911f63e43611290b996f526c0f8aaf2 (diff)
Use TSyringe on background script
Diffstat (limited to 'test/main.ts')
-rw-r--r--test/main.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/main.ts b/test/main.ts
index 3aeae69..433b531 100644
--- a/test/main.ts
+++ b/test/main.ts
@@ -1,6 +1,8 @@
-import chai from 'chai';
+import 'reflect-metadata';
+import { expect } from 'chai';
+
const browserFake = require('webextensions-api-fake');
const browser = browserFake();
-global.expect = chai.expect;
+global.expect = expect;
global.browser = browser;