From 84834c5a08bbe0c569c5e798dfb38072047fa07d Mon Sep 17 00:00:00 2001 From: Mustafa Kemal Tuna <12192118+lumosmind@users.noreply.github.com> Date: Fri, 21 May 2021 13:38:34 +0300 Subject: [PATCH] fixing file name extension fixing file name extension for Node.js and es6 module syntax --- docs/testing/jest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: