mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 12:51:54 +00:00
fix(tests): improve test reliability and remove unused deps
- Add --test-timeout=30000 to prevent test suite hanging - Skip build_verification.test.mjs when dist/ is absent - Replace setTimeout with mocked Date.now in memory-cache expiry test - Replace wait(30) with setImmediate flush in scheduler smoke test - Remove unused @playwright/test devDependency https://claude.ai/code/session_01GfwUNbgeMgXreFDbsNQMsS
This commit is contained in:
4 files changed
+25
-12
No files matched your search
+1
-2
@@ -48,7 +48,7 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "npm run validate:scheduler && npm run test:integration:e2e && node --test test/*.test.mjs test/*.test.js",
|
||||
"test": "npm run validate:scheduler && npm run test:integration:e2e && node --test --test-timeout=30000 test/*.test.mjs test/*.test.js",
|
||||
"test:unit:lock-backend": "node --test test/lock-ops.test.mjs test/lock-ops-publish-retry.test.mjs",
|
||||
"lock:check:daily": "node bin/torch-lock.mjs check --cadence daily",
|
||||
"lock:check:weekly": "node bin/torch-lock.mjs check --cadence weekly",
|
||||
@@ -76,7 +76,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@playwright/test": "^1.58.2",
|
||||
"eslint": "^10.0.0",
|
||||
"globals": "^17.3.0"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user