test(coding-agent): expanded tests for model scope notification and collab link parsing

- Extended `parseCollabLink` test coverage to reject 16-byte and 40-byte fragments instead of only rejecting short keys.
- Added coverage for full-link fragments to ensure key and write token are parsed when present.
- Updated `GuestClient` test setup so `welcomeFrame` carries a `readOnly` flag into snapshot assertions.
This commit is contained in:
can1357
2026-06-12 13:46:58 +02:00
parent 2baea85a68
commit a57f5aa1ce
6 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
"dev": "bun ./index.html",
"mock-host": "bun scripts/mock-host.ts",
"relay": "bun scripts/local-relay.ts",
"build": "rm -rf dist && bun build ./index.html --outdir=dist --minify --asset-naming=[name].[ext] && cp -R public/. dist/",
"build": "rm -rf dist && bun build ./index.html --outdir=dist --minify --entry-naming=[hash].[ext] --chunk-naming=[hash].[ext] --asset-naming=[hash].[ext] && mv dist/*.html dist/index.html && cp -R public/. dist/",
"prepack": "bun run build",
"test": "bun test --parallel",
"check": "biome check . && bun run check:types",