File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - " 0.10"
4- - iojs
4+ - stable
5+ env :
6+ # Can't figure out how to DRY this up: http://stackoverflow.com/q/22397300/3191
7+ - CHAI_VERSION=^1.9.2 SINON_VERSION=^1.4.0
8+ - CHAI_VERSION=^2.0.0 SINON_VERSION=^1.4.0
9+ - CHAI_VERSION=^3.0.0 SINON_VERSION=^1.4.0
10+ - CHAI_VERSION=^1.9.2 SINON_VERSION=^2.1.0
11+ - CHAI_VERSION=^2.0.0 SINON_VERSION=^2.1.0
12+ - CHAI_VERSION=^3.0.0 SINON_VERSION=^2.1.0
513script :
6- npm run lint && npm test
14+ npm run lint && npm run test-travis
Original file line number Diff line number Diff line change 2222 " lib"
2323 ],
2424 "scripts" : {
25- "test" : " npm run test-chai-1-9-2 && npm run test-chai-2-3-0 && npm run test-chai-3-0-0" ,
26- "test-chai-1-9-2" : " npm install chai@1.9.2 && mocha" ,
27- "test-chai-2-3-0" : " npm install chai@2.3.0 && mocha" ,
28- "test-chai-3-0-0" : " npm install chai@3.0.0 && mocha" ,
25+ "test" : " mocha" ,
26+ "test-travis" : " npm install chai@$CHAI_VERSION && npm install sinon@$SINON_VERSION && npm test" ,
2927 "lint" : " jshint ./lib" ,
3028 "cover" : " istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html"
3129 },
3230 "peerDependencies" : {
3331 "chai" : " >=1.9.2 <4" ,
34- "sinon" : " >= 1.4.0 <2 "
32+ "sinon" : " ^ 1.4.0 || ^2.1.0 "
3533 },
3634 "devDependencies" : {
3735 "chai" : " ^3.0.0" ,
4038 "jshint" : " ^2.5.6" ,
4139 "mocha" : " ^1.21.4" ,
4240 "opener" : " ^1.4.0" ,
43- "sinon" : " ^1.10.3 "
41+ "sinon" : " ^2.1.0 "
4442 }
4543}
You can’t perform that action at this time.
0 commit comments