summaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-04-27 09:21:07 +0200
committerVincent Petry <vincent@nextcloud.com>2021-04-30 09:59:44 +0200
commita41b98045d668dc57a73a66e34c9639fe7694b61 (patch)
treed91557968647ef2133aa2432c2b97811f6a3613c /jest.config.js
parent5249c1390a04968eefc8a9ee183306d646be7c53 (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.js5
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',