- Use more modern TypeScript conventions - Use JavaScript Kubernetes Client - Add unit tests - Add integration tests - Add TypeScript compile verify workflow - Switch codeowners
21 lines
373 B
JavaScript
21 lines
373 B
JavaScript
module.exports = {
|
|
restoreMocks: true,
|
|
clearMocks: true,
|
|
resetMocks: true,
|
|
moduleFileExtensions: ["js", "ts"],
|
|
testEnvironment: "node",
|
|
testMatch: ["**/*.test.ts"],
|
|
transform: {
|
|
"^.+\\.ts$": "ts-jest",
|
|
},
|
|
verbose: true,
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 0,
|
|
functions: 40,
|
|
lines: 22,
|
|
statements: 22,
|
|
},
|
|
},
|
|
};
|