shim-server-parity.test.ts grew to 838 lines after the recent batch of element tools added 7 fixture entries. Move the CASES table and the build* imports to shim-server-parity-cases.ts (a sibling .ts, not .test.ts so vitest doesn't pick it up as a separate suite); keep the mocks, helpers, and describe blocks in the test file (now 139 lines). Both files are well under the repo's 800-line ceiling. vitest's vi.mock hoisting still works because the mock is registered at the test file's module-resolution time, before the cases file's imports resolve — confirmed by the 104 parity assertions still passing. |
||
|---|---|---|
| .. | ||
| cli | ||
| desktop | ||
| web | ||