From 5fda9e878ee5d65423b98f8e7eecf37c1ad4e091 Mon Sep 17 00:00:00 2001 From: Ertugrul Karademir Date: Fri, 14 Jun 2024 14:06:11 +0100 Subject: [PATCH] fix: align all overwrites Signed-off-by: Ertugrul Karademir --- packages/markdown-cicero/jest.config.js | 2 +- packages/markdown-common/jest.config.js | 2 +- packages/markdown-docx/jest.config.js | 2 +- packages/markdown-html/jest.config.js | 2 +- packages/markdown-slate/jest.config.js | 2 +- packages/markdown-transform/jest.config.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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