ignore environment markers in dep specs (#295)

Contributes to: #256
This commit is contained in:
Kevin Stillhammer
2026-01-15 13:58:24 +01:00
committed by GitHub
parent 90ea8a399c
commit deb632007b
9 changed files with 4138 additions and 34 deletions
+12
View File
@@ -0,0 +1,12 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
collectCoverageFrom: ["src/**/*.ts", "!src/**/*.d.ts"],
moduleFileExtensions: ["ts", "js"],
preset: "ts-jest",
roots: ["<rootDir>/src"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
transform: {
"^.+\\.ts$": "ts-jest",
},
};