Files
cloud-host/backend/src/test-setup.ts
T
keyhan 837f0fa63f Harden platform security, reliability, and CI after full audit.
Close deployment IDOR and gate stub payment endpoints, add production
secret validation, health probes, Redis-backed build progress, GitHub
Actions CI, expanded tests, billing/k8s refactors, and ops runbooks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:59:49 +03:30

11 lines
338 B
TypeScript

/** Prevent Jest from loading ESM-only @kubernetes/client-node in unit tests. */
jest.mock('@kubernetes/client-node', () => ({
KubeConfig: jest.fn(),
CoreV1Api: jest.fn(),
AppsV1Api: jest.fn(),
BatchV1Api: jest.fn(),
NetworkingV1Api: jest.fn(),
CustomObjectsApi: jest.fn(),
HttpError: class HttpError extends Error {},
}));