mirror of
https://github.com/earthly/actions-setup.git
synced 2024-12-26 22:41:01 +08:00
add jest config
This commit is contained in:
parent
43e815f2eb
commit
308be41af1
15
jest.config.js
Normal file
15
jest.config.js
Normal file
@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
collectCoverageFrom: ["src/**/*.ts"],
|
||||
testPathIgnorePatterns: [
|
||||
".*/dist/.*",
|
||||
".*dist.*",
|
||||
"/node_modules/(?!got)(.*)",
|
||||
],
|
||||
globals: {
|
||||
"ts-jest": {
|
||||
tsconfig: "tsconfig.json",
|
||||
},
|
||||
},
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user