Skip to content

Commit 3e366bc

Browse files
committed
chore: add derived effect ownership tests
1 parent 5d29db3 commit 3e366bc

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/tests/signals

1 file changed

+1
-1
lines changed

packages/svelte/tests/signals/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ describe('signals', () => {
377377
};
378378
});
379379

380-
test('effect with creating an effect correctly disposes previous effects', () => {
380+
test('creating effects within a derived correctly handles ownership', () => {
381381
const log: Array<number | string> = [];
382382
let a: Value<unknown>;
383383
let inner: Value<string | number>;

0 commit comments

Comments
 (0)