From 0d2446c1bdd528bb00c5e020f3a60356c91faccc Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 19 Jul 2023 17:26:59 +0200 Subject: [PATCH] revert mapping of cjs module Signed-off-by: Maksim Sukharev --- jest.config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 043b7df10d..3c5803c2fe 100644 --- a/jest.config.js +++ b/jest.config.js @@ -82,8 +82,6 @@ module.exports = { moduleNameMapper: { '\\.(css|scss)$': 'jest-transform-stub', 'vendor/tflite/(.*).wasm$': '/src/utils/media/effects/virtual-background/vendor/tflite/$1.js', - // Axios using ESM since v1.0.0, so we need to replace it with CJS for tests - axios: '/node_modules/@nextcloud/axios/node_modules/axios/dist/node/axios.cjs', }, transform: {