File tree Expand file tree Collapse file tree 3 files changed +1
-18
lines changed
Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 11var ISTANBUL = './node_modules/.bin/istanbul' ;
2- var BUSTER = './node_modules/.bin/buster test' ;
32var COVERAGE_OPTS = '--lines 95 --statements 90 --branches 80 --functions 90' ;
43
54var print_opts = { printStdout : true , printStderr : true } ;
@@ -34,14 +33,6 @@ namespace('test', function() {
3433 var command = "test/run.js -T acceptance --timeout 30000" ;
3534 jake . exec ( command , complete , print_opts ) ;
3635 } ) ;
37-
38- // You likely need to install buster globally for this to work, because buster
39- // doesn't work with relative paths.
40- desc ( 'Run sample Buster.js test' ) ;
41- task ( 'buster' , { async : true } , function ( ) {
42- var command = BUSTER ;
43- jake . exec ( command , complete , print_opts ) ;
44- } ) ;
4536} ) ;
4637
4738var JSHINT = './node_modules/jshint/bin/hint --config .jshintrc' ;
Original file line number Diff line number Diff line change 33ISTANBUL = ./node_modules/.bin/istanbul
44TEST_COMMAND = NODE_ENV=test ./node_modules/.bin/mocha
55COVERAGE_OPTS = --lines 95 --statements 90 --branches 80 --functions 90
6- BUSTER = ./node_modules/.bin/buster test
76
87main : lint test test-buster
98
@@ -19,18 +18,12 @@ test: cover check-coverage
1918test-cov : cover check-coverage
2019 open coverage/lcov-report/index.html
2120
22- # You likely need to install buster globally for this to work, because buster
23- # doesn't work with relative paths.
24- test-buster :
25- $(BUSTER )
26-
2721test-acceptance :
2822 test/run.js -T acceptance
2923
3024lint :
3125 ./node_modules/.bin/jshint ./lib --config $(BASE ) /.jshintrc && \
32- ./node_modules/.bin/jshint ./test --config $(BASE ) /.jshintrc && \
33- ./node_modules/.bin/jshint ./test-buster --config $(BASE ) /.jshintrc
26+ ./node_modules/.bin/jshint ./test --config $(BASE ) /.jshintrc
3427
3528
3629.PHONY : test test-buster
Original file line number Diff line number Diff line change 1616 "settings" : " 0.1.0"
1717 },
1818 "devDependencies" : {
19- "buster" : " 0.6.3" ,
2019 "Faker" : " 0.5.6" ,
2120 "jshint" : " 1.0.0" ,
2221 "istanbul" : " 0.1.29" ,
You can’t perform that action at this time.
0 commit comments