File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports = () => {
3636 // running mocha instance is not the same as mocha under test,
3737 // running mocha is the project's source code mocha, mocha under test is instrumented version of the source code
3838 const runningMocha = wallaby . testFramework ;
39- runningMocha . timeout ( 200 ) ;
39+ runningMocha . timeout ( 1000 ) ;
4040 // to expose it/describe etc. on the mocha under test
4141 const MochaUnderTest = require ( './' ) ;
4242 const mochaUnderTest = new MochaUnderTest ( ) ;
@@ -46,18 +46,6 @@ module.exports = () => {
4646 '' ,
4747 mochaUnderTest
4848 ) ;
49- // to make test/node-unit/color.spec.js pass, we need to run mocha in the project's folder context
50- const childProcess = require ( 'child_process' ) ;
51- const execFile = childProcess . execFile ;
52- childProcess . execFile = function ( ) {
53- let opts = arguments [ 2 ] ;
54- if ( typeof opts === 'function' ) {
55- opts = { } ;
56- Array . prototype . splice . call ( arguments , 2 , 0 , opts ) ;
57- }
58- opts . cwd = wallaby . localProjectDir ;
59- return execFile . apply ( this , arguments ) ;
60- } ;
6149 require ( './test/setup' ) ;
6250 } ,
6351 debug : true
You can’t perform that action at this time.
0 commit comments