I am also using the mock-gulp-test module. In situations when you are scaffolding files that are also the names of files in the scaffolding tool, like README.md and package.json, the confilct module prompts and interrupts the test, causing it to fail.
with conflict in the pipeline
[?] Replace README.md? (Ynaxdh) 0
0 passing (2s)
1 failing
1) slush-example default should make a readme:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
at null.<anonymous> (E:\Users\<username>\Desktop\slush-example\node_modules\mocha\lib\runnable.js:170:19)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: 1 test failed.
when I take it out everything is ok. This is only occuring on the unit tests, is there a way around this? I've tried doing something similar to what you are doing in this
but the prompts are still causing issues.
I would also add that the .on('stop') did not work in my tests, and I had to resort to using on('task_stop'). If this is the wrong module to be submitting this issue let me know.
I haven't gone into exhaustive detail in case this is something you've encountered before. However, if you'd like more detail, let me know and I can flesh it out more throughout. Thank you very much for your hard work on this module and your time.
I am also using the
mock-gulp-test module. In situations when you are scaffolding files that are also the names of files in the scaffolding tool, like README.md and package.json, the confilct module prompts and interrupts the test, causing it to fail.with conflict in the pipeline
when I take it out everything is ok. This is only occuring on the unit tests, is there a way around this? I've tried doing something similar to what you are doing in this
but the prompts are still causing issues.
I would also add that the
.on('stop')did not work in my tests, and I had to resort to usingon('task_stop'). If this is the wrong module to be submitting this issue let me know.I haven't gone into exhaustive detail in case this is something you've encountered before. However, if you'd like more detail, let me know and I can flesh it out more throughout. Thank you very much for your hard work on this module and your time.