diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..626f08d --- /dev/null +++ b/jest.config.js @@ -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", + }, + }, +};