Skip to content

Commit

Permalink
Support Chai 3.x
Browse files Browse the repository at this point in the history
Fixes #65. Also tests against all supported Chai versions.
  • Loading branch information
gingermusketeer authored and domenic committed Jun 7, 2015
1 parent aac0849 commit 3d47b80
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@
"lib"
],
"scripts": {
"test": "mocha",
"test": "npm run test-chai-1-9-2 && npm run test-chai-2-3-0 && npm run test-chai-3-0-0",
"test-chai-1-9-2": "npm install [email protected] && mocha",
"test-chai-2-3-0": "npm install [email protected] && mocha",
"test-chai-3-0-0": "npm install [email protected] && mocha",
"lint": "jshint ./lib",
"cover": "istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html"
},
"peerDependencies": {
"chai": ">=1.9.2 <3",
"chai": ">=1.9.2 <4",
"sinon": ">=1.4.0 <2"
},
"devDependencies": {
"chai": "^1.9.2",
"chai": "^3.0.0",
"coffee-script": "~1.8.0",
"istanbul": "~0.3.2",
"jshint": "^2.5.6",
Expand Down

0 comments on commit 3d47b80

Please sign in to comment.