File tree 3 files changed +16
-6
lines changed
3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 40
40
"scripts" : {
41
41
"lint" : " jshint bin/ lib/ test/" ,
42
42
"fmt" : " pre-commit run --all-files" ,
43
- "test" : " nyc jasmine JASMINE_CONFIG_PATH= test/jasmine.json " ,
43
+ "test" : " nyc node test/jasmine.js " ,
44
44
"coverage-html" : " nyc report --reporter=html" ,
45
45
"codecov" : " nyc report --reporter=lcov && codecov"
46
46
}
Original file line number Diff line number Diff line change
1
+ var Jasmine = require ( "jasmine" ) ;
2
+ var jasmine = new Jasmine ( ) ;
3
+
4
+ jasmine . loadConfig ( {
5
+ // Config reference: https://jasmine.github.io/api/npm/edge/Configuration.html
6
+ random : false ,
7
+ spec_dir : "test" ,
8
+ spec_files : [ "api_spec.js" ] ,
9
+ stopSpecOnExpectationFailure : false ,
10
+ } ) ;
11
+ jasmine . configureDefaultReporter ( {
12
+ // Options reference: https://jasmine.github.io/api/npm/edge/ConsoleReporterOptions.html
13
+ showColors : true ,
14
+ } ) ;
15
+ jasmine . execute ( ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments