We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2252f27 commit 42ebec5Copy full SHA for 42ebec5
example/shim.js
@@ -34,3 +34,8 @@ if (typeof localStorage !== 'undefined') {
34
// If using the crypto shim, uncomment the following line to ensure
35
// crypto is loaded first, so it can populate global.crypto
36
require('crypto');
37
+
38
+// Setup chai-as-promised for mocha tests
39
+const chai = require('chai');
40
+const chaiAsPromised = require('chai-as-promised');
41
+chai.use(chaiAsPromised);
0 commit comments