summaryrefslogtreecommitdiffhomepage
path: root/flow-libs/tests.js.flow
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-20 16:20:04 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-20 16:20:04 +0200
commit648c6e06ce07503be4eebbd46bd7b2e843a862fe (patch)
treee8867916c95f8855dee60ad06f44e94244aa60f3 /flow-libs/tests.js.flow
parent3e7a83f27a10cf6630ba5ff885b64cc24b02e9e3 (diff)
parentffd34043d74cd59206c260b59d318c8e9bba9a39 (diff)
downloadmullvadvpn-648c6e06ce07503be4eebbd46bd7b2e843a862fe.tar.xz
mullvadvpn-648c6e06ce07503be4eebbd46bd7b2e843a862fe.zip
Merge branch 'migrate-to-chai-spies'
Diffstat (limited to 'flow-libs/tests.js.flow')
-rw-r--r--flow-libs/tests.js.flow5
1 files changed, 5 insertions, 0 deletions
diff --git a/flow-libs/tests.js.flow b/flow-libs/tests.js.flow
index b1daeefa4c..aecc8239fa 100644
--- a/flow-libs/tests.js.flow
+++ b/flow-libs/tests.js.flow
@@ -1,3 +1,5 @@
+import chai from 'chai';
+
// We use electron-mocha which has a child dependency on mocha.
// However flow-typed does not automatically pull annotations for mocha.
// These stubs remedy the absence of those.
@@ -5,3 +7,6 @@ declare function describe(string, Function): void;
declare function it(string, (done: Function) => any): Promise<any> | void;
declare function afterEach((done: Function) => void): Promise<any> | void;
declare function beforeEach((done: Function) => void): Promise<any> | void;
+
+declare var expect: $PropertyType<chai, 'expect'>;
+declare var spy: any; \ No newline at end of file