diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-04-27 09:21:07 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-04-30 09:59:44 +0200 |
commit | a41b98045d668dc57a73a66e34c9639fe7694b61 (patch) | |
tree | d91557968647ef2133aa2432c2b97811f6a3613c /jest.config.js | |
parent | 5249c1390a04968eefc8a9ee183306d646be7c53 (diff) |
Added file upload store tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js index c8a15b8ef..faa2f2657 100644 --- a/jest.config.js +++ b/jest.config.js @@ -26,7 +26,10 @@ module.exports = { testMatch: ['<rootDir>/src/**/*.(spec|test).(ts|js)'], resetMocks: false, setupFiles: ['jest-localstorage-mock'], - setupFilesAfterEnv: ['<rootDir>/src/test-setup.js'], + setupFilesAfterEnv: [ + '<rootDir>/src/test-setup.js', + 'jest-mock-console/dist/setupTestFramework.js', + ], transform: { // process `*.js` files with `babel-jest` '.*\\.(js)$': 'babel-jest', |