Spaces:
Paused
Paused
Download lib/src/__tests__/setup.js from Rachit-Tw/PRIX: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/spaces/Rachit-Tw/PRIX/resolve/main/lib/src/__tests__/setup.js
- Command line
-
hf download hf://spaces/Rachit-Tw/PRIX/lib/src/__tests__/setup.js
-
curl -L -o setup.js https://huggingface.co/spaces/Rachit-Tw/PRIX/resolve/main/lib/src/__tests__/setup.js
516 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| // Jest setup file | |
| const globals_1 = require("@jest/globals"); | |
| // Mock environment variables | |
| process.env.GROQ_API_KEY = 'test-api-key'; | |
| process.env.GITHUB_TOKEN = 'test-github-token'; | |
| process.env.LOG_LEVEL = 'silent'; | |
| // Global test utilities | |
| global.console = { | |
| ...console, | |
| log: globals_1.jest.fn(), | |
| warn: globals_1.jest.fn(), | |
| error: globals_1.jest.fn(), | |
| debug: globals_1.jest.fn(), | |
| }; | |
| //# sourceMappingURL=setup.js.map |