diff --git a/docs/testing/jest.md b/docs/testing/jest.md index 5820b4024..a484d490a 100644 --- a/docs/testing/jest.md +++ b/docs/testing/jest.md @@ -41,7 +41,7 @@ module.exports = { } ``` -(If your `package.json` file contains `"type": "module"`, which causes Node to assume modules are in es6 format, you can convert the above to es6 format by replacing the top line to `export default { ` .) +(If your `package.json` file contains `"type": "module"`, which causes Node to assume modules are in es6 format, you can convert the above to es6 format by replacing the top line to `export default { ` and the file name `jest.config.js` by `jest.config.mjs` .) Explanation: