Skip to content

Commit ade72be

Browse files
committed
Merge branch 'dev' into vicky/connect-users-save-query
2 parents e8e304c + 3b1fe26 commit ade72be

File tree

13 files changed

+767
-380
lines changed

13 files changed

+767
-380
lines changed

.DS_Store

0 Bytes
Binary file not shown.

jest.config.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
// collectCoverageFrom: undefined,
2424

2525
// The directory where Jest should output its coverage files
26-
coverageDirectory: "coverage",
26+
coverageDirectory: 'coverage',
2727

2828
// An array of regexp pattern strings used to skip coverage collection
2929
// coveragePathIgnorePatterns: [
@@ -89,8 +89,9 @@ export default {
8989

9090
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
9191
moduleNameMapper: {
92-
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
93-
"\\.(css|less)$": "<rootDir>/mocks/fileMock.js"
92+
'\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
93+
'<rootDir>/mocks/fileMock.js',
94+
'\\.(css|less)$': '<rootDir>/mocks/fileMock.js',
9495
},
9596

9697
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
@@ -138,7 +139,8 @@ export default {
138139
// setupFiles: [],
139140

140141
// A list of paths to modules that run some code to configure or set up the testing framework before each test
141-
// setupFilesAfterEnv: [],
142+
//
143+
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
142144

143145
// The number of seconds after which a test is considered as slow and reported as such in the results.
144146
// slowTestThreshold: 5,
@@ -147,7 +149,7 @@ export default {
147149
// snapshotSerializers: [],
148150

149151
// The test environment that will be used for testing
150-
testEnvironment: "jsdom",
152+
testEnvironment: 'jsdom',
151153

152154
// Options that will be passed to the testEnvironment
153155
// testEnvironmentOptions: {},

0 commit comments

Comments
 (0)