mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-21 10:37:10 +00:00
Merge pull request #10021 from nextcloud/fix/noid/remove-axios-cjs-mapping
Revert mapping of cjs module
This commit is contained in:
@ -82,8 +82,6 @@ module.exports = {
|
||||
moduleNameMapper: {
|
||||
'\\.(css|scss)$': 'jest-transform-stub',
|
||||
'vendor/tflite/(.*).wasm$': '<rootDir>/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: '<rootDir>/node_modules/@nextcloud/axios/node_modules/axios/dist/node/axios.cjs',
|
||||
},
|
||||
|
||||
transform: {
|
||||
|
Reference in New Issue
Block a user