Commit 3917090
authored
test: document compatibility test taxonomy
## Problem
This PR has no runtime or runner behavior change; it reduces maintenance
risk by giving compatibility tests an explicit routing note before a
dedicated compatibility suite exists.
Compatibility coverage currently lives across broad specs such as
`version-sensitive.ts`, `watch.ts`, `cli.ts`, `api.ts`, and `smoke.ts`.
Without a small taxonomy, new Node-version-sensitive tests can keep
piling into the wrong catch-all file or imply that `tests/specs/compat/`
is already wired as an executable suite.
## Changes
- Adds `tests/specs/compat/README.md` as a routing skeleton, not runner
wiring.
- Documents the current routes for loader-hook composition, watch and
CLI behavior, CommonJS-classified TypeScript contracts, CJS namespace
and `require(esm)`, path/query resolution, `import.meta` path
properties, package `main` resolution, and Node test runner behavior.
- Directs new compatibility coverage to the narrowest existing spec
until the dedicated compatibility suite boundary is intentional.1 parent de8113f commit 3917090
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments