Commit eb92fcf
authored
Close over the ref'd element in the useSignalEffect cleanup test (#970)
Reading `ref.current` from the cleanup asserts ref-detach timing the test
doesn't mean to assert, and that timing differs between Preact 10 and 11.1 parent fe12c47 commit eb92fcf
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | | - | |
1214 | | - | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
1215 | 1216 | | |
1216 | 1217 | | |
1217 | 1218 | | |
| |||
0 commit comments