Browse Source
Merge pull request #10021 from nextcloud/fix/noid/remove-axios-cjs-mapping
Revert mapping of cjs module
pull/10048/head
Maksim Sukharev
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
jest.config.js
|
|
|
@ -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: { |
|
|
|
|