mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
add db mock
This commit is contained in:
1 parent
d01034bca8
commit
09ced5cdff
7 files changed
+109
-9
No files matched your search
+3
-8
@@ -1,13 +1,8 @@
|
||||
module.exports = {
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
diagnostics: {
|
||||
warnOnly: true,
|
||||
},
|
||||
},
|
||||
preset: '@shelf/jest-mongodb',
|
||||
transform: {
|
||||
'^.+\\.ts?$': 'ts-jest'
|
||||
},
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['ts', 'js', 'json'],
|
||||
collectCoverage: true,
|
||||
coverageDirectory: '<rootDir>/.coverage',
|
||||
|
||||
Reference in new issue
Block a user