Browse Source
revert mapping of cjs module
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
pull/10021/head
Maksim Sukharev
2 years ago
No known key found for this signature in database
GPG Key ID: 6349D071889BD1D5
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: { |
|
|
|