Skip to content

Commit

Permalink
Add support for, and test against, Chai v4
Browse files Browse the repository at this point in the history
  • Loading branch information
charlierudolph authored and domenic committed Jun 11, 2017
1 parent 5ff1468 commit 40b35f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -7,9 +7,11 @@ env:
- CHAI_VERSION=^1.9.2 SINON_VERSION=^1.4.0
- CHAI_VERSION=^2.0.0 SINON_VERSION=^1.4.0
- CHAI_VERSION=^3.0.0 SINON_VERSION=^1.4.0
- CHAI_VERSION=^4.0.0 SINON_VERSION=^1.4.0
- CHAI_VERSION=^1.9.2 SINON_VERSION=^2.1.0
- CHAI_VERSION=^2.0.0 SINON_VERSION=^2.1.0
- CHAI_VERSION=^3.0.0 SINON_VERSION=^2.1.0
- CHAI_VERSION=^4.0.0 SINON_VERSION=^2.1.0
script:
- test $TRAVIS_NODE_VERSION == "0.10" || npm run lint
- npm run test-travis
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,11 +28,11 @@
"cover": "istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html"
},
"peerDependencies": {
"chai": ">=1.9.2 <4",
"chai": ">=1.9.2 <5",
"sinon": "^1.4.0 || ^2.1.0"
},
"devDependencies": {
"chai": "^3.0.0",
"chai": "^4.0.2",
"coffee-script": "~1.8.0",
"eslint": "^3.19.0",
"istanbul": "~0.4.5",
Expand Down

0 comments on commit 40b35f3

Please sign in to comment.