Skip to content

Commit 6870318

Browse files
committed
add mocha issue to error descriptor
1 parent 2c879cc commit 6870318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v-next/hardhat-errors/src/descriptors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ Please check Hardhat's output for more details.`,
478478
messageTemplate: `Your project uses ESM and you've programmatically run your tests twice. This is not supported yet.`,
479479
websiteTitle: "Running tests twice in an ESM project",
480480
websiteDescription:
481-
'You have run your tests twice programmatically and your project is an ESM project (you have `"type": "module"` in your `package.json`, or some of your files have the `.mjs` extension). This is not supported by Mocha yet.',
481+
'You have run your tests twice programmatically and your project is an ESM project (you have `"type": "module"` in your `package.json`, or some of your files have the `.mjs` extension). This is not supported by Mocha yet (https://github.com/mochajs/mocha/issues/2706).',
482482
},
483483
},
484484
NETWORK: {

0 commit comments

Comments
 (0)