File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 },
4646 "scripts" : {
4747 "start" : " grunt serve" ,
48- "test" : " NODE_ENV=test mocha --color" ,
49- "travis" : " NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" ,
50- "appveyor" : " set NODE_ENV=test&& mocha --color"
48+ "test" : " mocha --color" ,
49+ "travis" : " istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" ,
50+ "appveyor" : " mocha --color"
5151 }
5252}
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var path = require ( 'path' ) ;
3+ process . env . NODE_ENV = 'test' ;
44
5+ var path = require ( 'path' ) ;
56var chai = require ( 'chai' ) ;
67chai . use ( require ( 'chai-as-promised' ) ) ;
78chai . use ( require ( 'chai-shallow-deep-equal' ) ) ;
You can’t perform that action at this time.
0 commit comments