Skip to content

Commit

Permalink
chore: add jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustoMarcelo committed Mar 19, 2021
1 parent 535ea60 commit 0637956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,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: [],
setupFilesAfterEnv: ['./src/config/jest.ts'],

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],
Expand Down
1 change: 1 addition & 0 deletions src/config/jest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'reflect-metadata';

0 comments on commit 0637956

Please sign in to comment.