diff --git a/packages/markdown-cicero/jest.config.js b/packages/markdown-cicero/jest.config.js index 1f6d4b6e..aa7a223a 100644 --- a/packages/markdown-cicero/jest.config.js +++ b/packages/markdown-cicero/jest.config.js @@ -92,7 +92,7 @@ module.exports = { // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader diff --git a/packages/markdown-common/jest.config.js b/packages/markdown-common/jest.config.js index 7b04f97d..e4ae9554 100644 --- a/packages/markdown-common/jest.config.js +++ b/packages/markdown-common/jest.config.js @@ -92,7 +92,7 @@ module.exports = { // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader diff --git a/packages/markdown-docx/jest.config.js b/packages/markdown-docx/jest.config.js index 8b7c7769..e724e204 100644 --- a/packages/markdown-docx/jest.config.js +++ b/packages/markdown-docx/jest.config.js @@ -93,7 +93,7 @@ module.exports = { // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader diff --git a/packages/markdown-html/jest.config.js b/packages/markdown-html/jest.config.js index 2e5b98f6..7e00e6eb 100644 --- a/packages/markdown-html/jest.config.js +++ b/packages/markdown-html/jest.config.js @@ -93,7 +93,7 @@ module.exports = { // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader diff --git a/packages/markdown-slate/jest.config.js b/packages/markdown-slate/jest.config.js index 7b04f97d..e4ae9554 100644 --- a/packages/markdown-slate/jest.config.js +++ b/packages/markdown-slate/jest.config.js @@ -92,7 +92,7 @@ module.exports = { // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader diff --git a/packages/markdown-transform/jest.config.js b/packages/markdown-transform/jest.config.js index 91decd30..4a8345ce 100644 --- a/packages/markdown-transform/jest.config.js +++ b/packages/markdown-transform/jest.config.js @@ -77,7 +77,7 @@ module.exports = { // An array of directory names to be searched recursively up from the requiring module's location moduleNameMapper: { - '^axios$': 'axios/dist/node/axios.cjs' + '^axios$': 'axios/dist/axios.js' }, // An array of file extensions your modules use