diff --git a/packages/svelte/tests/signals/test.ts b/packages/svelte/tests/signals/test.ts index d426a23099..aeb907f700 100644 --- a/packages/svelte/tests/signals/test.ts +++ b/packages/svelte/tests/signals/test.ts @@ -273,10 +273,12 @@ describe('signals', () => { flushSync(() => set(count, 0)); // Ensure we're not leaking consumers assert.deepEqual(count.reactions?.length, 1); + assert.deepEqual(calc.reactions?.length, 1); assert.deepEqual(log, [0, 2, 'limit', 0]); destroy(); // Ensure we're not leaking consumers assert.deepEqual(count.reactions, null); + assert.deepEqual(calc.reactions, null); }; });