Skip to content

Commit

Permalink
Use basePath to locate .mocharc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Nov 19, 2020
1 parent c05b087 commit 48d7528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/external.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (typeof process === 'object') {
pathModule.resolve(basePath, 'node_modules', '.bin', 'mocha'),
[
'--config',
pathModule.resolve(__dirname, '..', '.mocharc.json'),
pathModule.resolve(basePath, '.mocharc.json'),
...subject.map(function (fileName) {
return pathModule.resolve(
externaltestsDir,
Expand Down

0 comments on commit 48d7528

Please sign in to comment.