From c6e103578c671a49c6e31c34a0a30bd6802ff128 Mon Sep 17 00:00:00 2001 From: MaxxxDong Date: Thu, 19 Mar 2026 22:54:35 +0800 Subject: [PATCH] test(contracts): fix async assertions and reset matrix bindings --- src/channels/plugins/contracts/suites.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels/plugins/contracts/suites.ts b/src/channels/plugins/contracts/suites.ts index c2c85bfb747..7c9803ee47f 100644 --- a/src/channels/plugins/contracts/suites.ts +++ b/src/channels/plugins/contracts/suites.ts @@ -485,7 +485,7 @@ export function installSessionBindingContractSuite(params: { expectedCapabilities: SessionBindingCapabilities; }) { it("registers the expected session binding capabilities", async () => { - await expect(params.getCapabilities()).resolves.toEqual(params.expectedCapabilities); + expect(await params.getCapabilities()).toEqual(params.expectedCapabilities); }); it("binds and resolves a session binding through the shared service", async () => {