File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/internal/client/reactivity
tests/runtime-runes/samples/async-abort-signal Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,6 @@ export class Batch {
160160 // flush_queued_effects(target.effects);
161161
162162 previous_batch = null ;
163-
164- this . #deferred?. resolve ( ) ;
165163 } else {
166164 // this.#defer_effects(target.render_effects);
167165 // this.#defer_effects(target.effects);
@@ -405,6 +403,8 @@ export class Batch {
405403 }
406404
407405 batches . delete ( this ) ;
406+
407+ this . #deferred?. resolve ( ) ;
408408 }
409409
410410 increment ( ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default test({
66 const [ reset , resolve ] = target . querySelectorAll ( 'button' ) ;
77
88 reset . click ( ) ;
9- await settled ( ) ;
9+ await tick ( ) ;
1010 assert . deepEqual ( logs , [ 'aborted' ] ) ;
1111
1212 resolve . click ( ) ;
You can’t perform that action at this time.
0 commit comments