refactor(desktop-e2e): one mock inference server in tests-js/scripts

The dev:mock script duplicated the e2e mock server. The copy had only
the plain chat reply; every scripted path lived only in the e2e version.
A single mock server now lives in tests-js/scripts/mock-server.ts.
The e2e suite imports it as a library. Running the file directly
starts the server, writes a mock config, and launches the desktop app.
The dev:mock script now runs that file.
The e2e tsconfig lists tests-js/scripts in its include, because the
composite project rule requires every imported file to be listed.
This commit is contained in:
ethernet
2026-08-12 10:15:25 -04:00
parent 6e139b2c22
commit fd02bd8621
17 changed files with 196 additions and 253 deletions
File diff suppressed because it is too large Load Diff