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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user