File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mocha-coderoad" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.2.0 " ,
44 "description" : " mocha test runner & reporter for atom-coderoad" ,
55 "main" : " src/runner.js" ,
66 "scripts" : {
2424 "mocha" : " 2.4.5"
2525 },
2626 "devDependencies" : {
27- "babel-core" : " ^6.5.2" ,
28- "babel-polyfill" : " ^6.5.0" ,
2927 "chai" : " ^3.5.0" ,
3028 "chai-as-promised" : " ^5.2.0" ,
3129 "chai-spies" : " ^0.7.1"
Original file line number Diff line number Diff line change @@ -23,23 +23,8 @@ function createRunner(config, tests) {
2323 '/usr/local/bin/mocha' ,
2424 '--bail' ,
2525 '--harmony' ,
26+ '--no-colors' ,
2627 ( "--reporter=" + path . join ( __dirname , 'reporter' ) )
2728 ] . concat ( tests ) , options ) ;
2829}
2930exports . createRunner = createRunner ;
30- function setRunnerOptions ( config ) {
31- var runnerOptions = [ ] ;
32- if ( ! config . testRunnerOptions ) {
33- return runnerOptions ;
34- }
35- if ( config . testRunnerOptions . babel ) {
36- require ( 'babel-core' ) ;
37- var babelOptions = [
38- '--use-strict' ,
39- '--require babel-polyfill' ,
40- '--compilers js:babel-core/register'
41- ] ;
42- runnerOptions . concat ( babelOptions ) ;
43- }
44- return runnerOptions ;
45- }
You can’t perform that action at this time.
0 commit comments