Skip to content

Instantly share code, notes, and snippets.

@joanna-liana
Created June 21, 2023 06:20
Show Gist options
  • Save joanna-liana/2f5c0c243a222aeb3bcf1e1f88d171ce to your computer and use it in GitHub Desktop.
Save joanna-liana/2f5c0c243a222aeb3bcf1e1f88d171ce to your computer and use it in GitHub Desktop.
NestJS Wallaby config (unit tests)
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