refactor: replace custom test runner with Node.js assert

- Simplify test files by removing custom TestRunner class
- Use standard Node.js assert module across all unit tests
- Update CLAUDE.md with streamlined development instructions
- Update tests/README.md with current testing approach
- Reduce boilerplate in delegation and GLMT test suites (652 lines removed)
This commit is contained in:
kaitranntt committed 2025-11-30 17:42:52 -05:00
1 parent ce9d60d0ca
commit cb7e38d2b1
13 files changed
+1656 -2308

No files matched your search

+2 -2
View File
@@ -58,10 +58,10 @@
"lint:fix": "eslint src/ --fix",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"validate": "bun run typecheck && bun run lint && bun run format:check && bun run test",
"validate": "bun run typecheck && bun run lint:fix && bun run format:check && bun run test",
"test": "bun run build && bun run test:all",
"test:all": "bun run test:unit && bun run test:npm",
"test:unit": "mocha tests/shared/unit/**/*.test.js --timeout 5000",
"test:unit": "mocha 'tests/**/unit/**/*.test.js' 'tests/unit/**/*.test.js' --timeout 5000",
"test:npm": "mocha tests/npm/**/*.test.js --timeout 10000",
"test:native": "bash tests/native/unix/edge-cases.sh",
"test:edge-cases": "bash tests/edge-cases.sh",