Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88e18a3

Browse files
author
sunlei
committed
add jest setup file
1 parent a121fde commit 88e18a3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

server/node-service/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ module.exports = {
44
testEnvironment: "node",
55
testTimeout: 10 * 60000,
66
testPathIgnorePatterns: ["/node_modules/", "/build/"],
7+
setupFiles: ["./jest.setup.ts"],
78
};

server/node-service/jest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "./src/common/logger";

0 commit comments

Comments
 (0)