Created
June 21, 2023 06:20
-
-
Save joanna-liana/2f5c0c243a222aeb3bcf1e1f88d171ce to your computer and use it in GitHub Desktop.
NestJS Wallaby config (unit tests)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (_wallaby) { | |
return { | |
files: ['src/**/*.ts', '!src/**/*spec.ts'], | |
tests: ['src/**/*spec.ts'], | |
testFramework: 'jest', | |
env: { | |
type: 'node', | |
}, | |
// this is what makes or breaks the config | |
autoDetect: true, | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment