tests/parsers.test.ts currently contains all parser tests for every package manager (npm, pnpm, yarn classic, yarn berry, bun, npm lock graph). As coverage grows this file becomes hard to navigate and violates the principle of one test file per unit.
Split into dedicated test files:
tests/parsers/npm-lock.test.ts
tests/parsers/npm-lock-graph.test.ts
tests/parsers/pnpm-lock.test.ts
tests/parsers/yarn-lock.test.ts
tests/parsers/bun-lock.test.ts
tests/parsers/package-json.test.ts
tests/parsers/load-packages.test.ts
No behavior changes — pure test file reorganization.
tests/parsers.test.tscurrently contains all parser tests for every package manager (npm, pnpm, yarn classic, yarn berry, bun, npm lock graph). As coverage grows this file becomes hard to navigate and violates the principle of one test file per unit.Split into dedicated test files:
tests/parsers/npm-lock.test.tstests/parsers/npm-lock-graph.test.tstests/parsers/pnpm-lock.test.tstests/parsers/yarn-lock.test.tstests/parsers/bun-lock.test.tstests/parsers/package-json.test.tstests/parsers/load-packages.test.tsNo behavior changes — pure test file reorganization.