File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 88 ],
99 "scripts" : {
1010 "build" : " ./node_modules/.bin/babel src/ -d lib/" ,
11- "test" : " TESTING=1 babel-node ./node_modules/.bin/isparta cover --root src/ ./node_modules/jasmine/ bin/jasmine.js " ,
11+ "test" : " TESTING=1 ./node_modules/.bin/istanbul cover ./node_modules/. bin/jasmine" ,
1212 "prepublish" : " npm run build"
1313 },
1414 "keywords" : [
2323 "author" : " Parse" ,
2424 "license" : " MIT" ,
2525 "devDependencies" : {
26- "babel-cli" : " ^6.6.5 " ,
27- "babel-core" : " ^6.7.4 " ,
26+ "babel-cli" : " ^6.23.0 " ,
27+ "babel-core" : " ^6.22.0 " ,
2828 "babel-preset-es2015" : " ^6.6.0" ,
29- "babel-preset-stage-0" : " ^6.5 .0" ,
29+ "babel-preset-stage-0" : " ^6.22 .0" ,
3030 "codecov" : " ^1.0.1" ,
31- "isparta" : " ^4.0.0" ,
32- "jasmine" : " ^2.4.1"
31+ "istanbul" : " ^0.4.5" ,
32+ "jasmine" : " 2.5.3" ,
33+ "jasmine-spec-reporter" : " ^3.2.0"
3334 },
3435 "dependencies" : {
3536 "apn" : " ^1.7.8" ,
3637 "node-gcm" : " ^0.14.0" ,
3738 "npmlog" : " ^2.0.3" ,
3839 "parse" : " ^1.8.1"
3940 },
40- "engines" : {
41+ "engines" : {
4142 "node" : " >= 4.6.0"
4243 }
4344}
Original file line number Diff line number Diff line change 1+ const SpecReporter = require ( 'jasmine-spec-reporter' ) . SpecReporter ;
2+
3+ jasmine . DEFAULT_TIMEOUT_INTERVAL = process . env . PARSE_SERVER_TEST_TIMEOUT || 5000 ;
4+
5+ jasmine . getEnv ( ) . clearReporters ( ) ;
6+ jasmine . getEnv ( ) . addReporter ( new SpecReporter ( ) ) ;
7+
Original file line number Diff line number Diff line change 22 "spec_dir" : " spec" ,
33 "spec_files" : [
44 " *spec.js"
5+ ],
6+ "helpers" : [
7+ " ../node_modules/babel-core/register.js" ,
8+ " helper.js"
59 ]
610}
You can’t perform that action at this time.
0 commit comments