Files
claude-task-master/tests/e2e/run-jest-e2e.js
Ralph Khreish 14cc09d241 more wip
2025-07-19 00:18:37 +03:00

17 lines
364 B
JavaScript

#!/usr/bin/env node
const { spawn } = require('child_process');
const path = require('path');
const args = ['--config', 'jest.e2e.config.js', ...process.argv.slice(2)];
const jest = spawn('jest', args, {
cwd: path.join(__dirname, '../..'),
stdio: 'inherit',
env: { ...process.env, NODE_ENV: 'test' }
});
jest.on('exit', (code) => {
process.exit(code);
});