add jest config

This commit is contained in:
Kevin Schoonover 2022-03-27 20:03:31 -07:00
parent 43e815f2eb
commit 308be41af1

15
jest.config.js Normal file
View 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",
},
},
};