- Removed unused dockerOptions from DockerOrchestrator and all manager classes - Updated container-manager to use NanoCpus for CPU limits instead of CpuQuota/CpuPeriod - Fixed resource limit enforcement in container configuration - Improved test reliability and error handling - Cleaned up test files and removed unused code
23 lines
493 B
TypeScript
23 lines
493 B
TypeScript
// Set up environment variables for tests
|
|
process.env.DEBUG = 'rz:*';
|
|
|
|
// Extend the global Jest namespace
|
|
declare global {
|
|
namespace jest {
|
|
interface Matchers<R> {
|
|
toBeWithinRange(a: number, b: number): R;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Add any global test setup here
|
|
|
|
// This is a placeholder test to satisfy Jest's requirement for at least one test
|
|
describe('Test Setup', () => {
|
|
it('should pass', () => {
|
|
expect(true).toBe(true);
|
|
});
|
|
});
|
|
|
|
export {}; // This file needs to be a module
|