Skip to content

Commit f5fb6de

Browse files
committed
Add chai-spies for testing helpers
1 parent 4e312c5 commit f5fb6de

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"babel-relay-plugin": "^0.8.0",
6565
"chai": "^3.5.0",
6666
"chai-as-promised": "^5.3.0",
67+
"chai-spies": "^0.7.1",
6768
"eslint": "^2.8.0",
6869
"eslint-config-airbnb": "^7.0.0",
6970
"eslint-plugin-jsx-a11y": "^0.6.2",

resources/mocha-bootload.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
/* eslint-disable */
2+
13
import chai from 'chai';
24
import chaiAsPromised from 'chai-as-promised';
5+
import chaiSpies from 'chai-spies';
36

47
chai.use(chaiAsPromised);
8+
chai.use(chaiSpies);
59

610
process.on('unhandledRejection', (error) => {
711
console.error('Unhandled Promise Rejection:');

0 commit comments

Comments
 (0)