We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e272e commit f60a346Copy full SHA for f60a346
index.js
@@ -51,12 +51,13 @@ module.exports = options => {
51
function flush(done) {
52
(async () => {
53
const subprocess = execa('mocha', files.concat(args), {
54
- localDir: __dirname
+ localDir: __dirname,
55
+ preferLocal: true
56
});
57
58
if (!options.suppress) {
- subprocess.stdout.pipe(subprocess.stdout);
59
- subprocess.stderr.pipe(subprocess.stderr);
+ subprocess.stdout.pipe(process.stdout);
60
+ subprocess.stderr.pipe(process.stderr);
61
}
62
63
try {
0 commit comments