Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-04-23 15:57:39 +0300
committerVincent Petry <vincent@nextcloud.com>2021-04-23 19:16:10 +0300
commite6a5f390c7857d947678ec50cd0e87f113ddbf35 (patch)
tree3ea08cadaf514b73dba5d8a3e45e1f8a6e7aec47 /jest.config.js
parentde6d64702abdb1e487855f26824c19f05c3bdc7b (diff)
More JS tests for stores
Added more JS tests for stores. Extracted global store config to a separate file to be able to include it in tests. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index 852af1651..c8a15b8ef 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -24,6 +24,8 @@ module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/no-babel',
// Allow tests in the src and in tests/unit folders
testMatch: ['<rootDir>/src/**/*.(spec|test).(ts|js)'],
+ resetMocks: false,
+ setupFiles: ['jest-localstorage-mock'],
setupFilesAfterEnv: ['<rootDir>/src/test-setup.js'],
transform: {
// process `*.js` files with `babel-jest`