File tree 2 files changed +2
-19
lines changed
2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mocha-coderoad" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.2.0 " ,
4
4
"description" : " mocha test runner & reporter for atom-coderoad" ,
5
5
"main" : " src/runner.js" ,
6
6
"scripts" : {
24
24
"mocha" : " 2.4.5"
25
25
},
26
26
"devDependencies" : {
27
- "babel-core" : " ^6.5.2" ,
28
- "babel-polyfill" : " ^6.5.0" ,
29
27
"chai" : " ^3.5.0" ,
30
28
"chai-as-promised" : " ^5.2.0" ,
31
29
"chai-spies" : " ^0.7.1"
Original file line number Diff line number Diff line change @@ -23,23 +23,8 @@ function createRunner(config, tests) {
23
23
'/usr/local/bin/mocha' ,
24
24
'--bail' ,
25
25
'--harmony' ,
26
+ '--no-colors' ,
26
27
( "--reporter=" + path . join ( __dirname , 'reporter' ) )
27
28
] . concat ( tests ) , options ) ;
28
29
}
29
30
exports . 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