mirror of
https://github.com/Azure/k8s-set-context
synced 2025-09-24 04:28:57 +00:00

- Use more modern TypeScript conventions - Use JavaScript Kubernetes Client - Add unit tests - Add integration tests - Add TypeScript compile verify workflow - Switch codeowners
20 lines
373 B
JavaScript
20 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,
|
|
},
|
|
},
|
|
};
|