Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Feb 21, 2022
1 parent c8a6a33 commit 727e781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/hardhat-core/src/builtin-tasks/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ subtask(TASK_TEST_RUN_MOCHA_TESTS)
if (taskArgs.parallel) {
mochaConfig.parallel = true;
}
console.log(mochaConfig.parallel);
console.log('parallel', mochaConfig.parallel);

if (mochaConfig.parallel === true) {
const mochaRequire = mochaConfig.require ?? [];
Expand All @@ -90,6 +90,7 @@ subtask(TASK_TEST_RUN_MOCHA_TESTS)
}

const mocha = new Mocha(mochaConfig);
console.log('mocha version', (mocha as any).version);
taskArgs.testFiles.forEach((file) => mocha.addFile(file));

const testFailures = await new Promise<number>((resolve) => {
Expand Down

0 comments on commit 727e781

Please sign in to comment.