test(api-task): add integration tests for task endpoints

This commit is contained in:
2026-04-05 00:13:19 +08:00
parent 32022c1437
commit 3a9b5fb000
5 changed files with 4065 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
/** @type {import('jest').Config} */
module.exports = {
rootDir: ".",
testEnvironment: "node",
clearMocks: true,
testMatch: ["<rootDir>/test/**/*.spec.ts"],
moduleFileExtensions: ["ts", "js", "json"],
transform: {
"^.+\\.(t|j)s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
}
};