mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Added `@playwright/test` and `c8` dependencies. - Configured Playwright in `playwright.config.js` to run the dashboard server. - Added `test/playwright/dashboard.spec.js` to verify dashboard functionality (loading, auth, config) and capture console logs. - Modified `src/dashboard.mjs` to support graceful shutdown via `/shutdown` endpoint (guarded by `NODE_V8_COVERAGE`) for coverage collection. - Updated `package.json` with `test:playwright` and `test:playwright:coverage` scripts. - Updated `.gitignore` to exclude coverage and test artifacts. - Fixed `host` default value in `src/cli-parser.mjs`. Co-authored-by: PR0M3TH3AN <[email protected]>
34 lines
470 B
Plaintext
34 lines
470 B
Plaintext
node_modules
|
|
dist/
|
|
.scheduler-memory/
|
|
.torch/
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Test logs
|
|
test_logs/*.log
|
|
test_logs/*.txt
|
|
|
|
# Task logs
|
|
task-logs/*.log
|
|
|
|
# Artifacts and temporary files
|
|
artifacts/
|
|
reports/performance/hits-*.json
|
|
reports/performance/hits-*.txt
|
|
reports/performance/benchmark-*.txt
|
|
|
|
# Root clutter prevention
|
|
test_output_full.txt
|
|
benchmark-after.txt
|
|
benchmark-baseline.txt
|
|
|
|
# Coverage
|
|
coverage/
|
|
playwright-report/
|
|
test-results/
|