test(protocol): align handshake fixtures with 1.0 floor and clarify v2/v3 naming

This commit is contained in:
“haonan” authored and GitHub committed 2026-08-22 17:01:15 +08:00
1 parent ab5c6d414a
commit b473ed0ce8
12 files changed
+15 -13

No files matched your search

@@ -26,7 +26,7 @@ function handshake(
}
describe("computeConnectedState (protocol-based compat)", () => {
it("returns connected when protocol strings match", () => {
it("returns connected when daemon protocol equals extension protocol", () => {
expect(computeConnectedState(handshake("1.1", "1.0"), MIN_COMPATIBLE_PROTOCOL)).toEqual({
kind: "connected",
});