1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore(jest-extended): fix jest-extended import

This commit is contained in:
Yury Shkoda
2022-01-31 10:20:53 +03:00
parent 0633a6de84
commit 556ab608c5
3 changed files with 4 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ module.exports = {
setupFiles: [],
// A list of paths to modules that run some code to configure or set up the testing framework before each test
setupFilesAfterEnv: ['jest-extended'],
setupFilesAfterEnv: ['jest-extended/all'],
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],

1
src/types/system/global.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
import 'jest-extended'

View File

@@ -6,7 +6,8 @@
"declaration": true,
"outDir": "./build",
"strict": true,
"sourceMap": true
"sourceMap": true,
"typeRoots": ["./node_modules/@types", "./src/types/system"]
},
"include": ["src"],
"exclude": ["node_modules"]