File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 8
8
],
9
9
"scripts" : {
10
10
"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" ,
12
12
"prepublish" : " npm run build"
13
13
},
14
14
"keywords" : [
23
23
"author" : " Parse" ,
24
24
"license" : " MIT" ,
25
25
"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 " ,
28
28
"babel-preset-es2015" : " ^6.6.0" ,
29
- "babel-preset-stage-0" : " ^6.5 .0" ,
29
+ "babel-preset-stage-0" : " ^6.22 .0" ,
30
30
"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"
33
34
},
34
35
"dependencies" : {
35
36
"apn" : " ^1.7.8" ,
36
37
"node-gcm" : " ^0.14.0" ,
37
38
"npmlog" : " ^2.0.3" ,
38
39
"parse" : " ^1.8.1"
39
40
},
40
- "engines" : {
41
+ "engines" : {
41
42
"node" : " >= 4.6.0"
42
43
}
43
44
}
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 2
2
"spec_dir" : " spec" ,
3
3
"spec_files" : [
4
4
" *spec.js"
5
+ ],
6
+ "helpers" : [
7
+ " ../node_modules/babel-core/register.js" ,
8
+ " helper.js"
5
9
]
6
10
}
You can’t perform that action at this time.
0 commit comments