test: fix mocks
CI / Check Dist (pull_request) Successful in 13s
CI / Dry-Run Prerelease (pull_request) Successful in 13s
CI / Dry-Run (pull_request) Successful in 47s
CI / Test (pull_request) Successful in 3m16s

This commit is contained in:
2026-05-31 13:27:17 +02:00
parent bf4a7dff9b
commit f447bfc764
3 changed files with 9 additions and 3 deletions
+3
View File
@@ -3,6 +3,9 @@ module.exports = {
testEnvironment: "node",
roots: ["<rootDir>/src"],
testMatch: ["**/*.spec.ts"],
moduleNameMapper: {
"^@actions/core$": "<rootDir>/src/__mocks__/actions-core.ts",
},
transform: {
"^.+\\.ts$": "ts-jest",
},