This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| it("should clean up signals after unmount with multiple suspense boundaries", async () => { | |
| let watchedCallCount = 0; | |
| let unwatchedCallCount = 0; | |
| // Create a signal with watched/unwatched callbacks to track cleanup | |
| const trackedSignal = signal(0, { | |
| name: "trackedSignal", | |
| watched: function () { | |
| watchedCallCount++; | |
| }, |