From 7a4054559da11295fe5407b7a4f1426ed89f7b2a Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Fri, 17 Jul 2026 23:55:09 -0400 Subject: [PATCH] test(quark): bind detached subscribe in solid adapter instrumentation Wrapper methods are shared this-based functions after the standalone sync, so the test's subscribe interception must bind before detaching. --- packages/quark/test/solid.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quark/test/solid.test.ts b/packages/quark/test/solid.test.ts index 37ee263444..43ebaab0d0 100644 --- a/packages/quark/test/solid.test.ts +++ b/packages/quark/test/solid.test.ts @@ -71,7 +71,7 @@ describe("Solid adapter", () => { expect(values).toEqual(["one", "ONE", "two", "TWO"]) function track(slot: Readable<{ readonly id: number; readonly value: string }>, index: number) { - const subscribe = slot.subscribe + const subscribe = slot.subscribe.bind(slot) slot.subscribe = (listener) => { active[index]++ const dispose = subscribe(listener)