Skip to content

Commit 88442a2

Browse files
committed
test(sandbox): pin that a fire-and-forget fetch survives a normal return
1 parent 1bfe3f3 commit 88442a2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎apps/sim/scripts/test-isolated-vm-remote-e2e.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,11 @@ async function run() {
602602
)
603603
assert.equal(result.result, 1, result.error?.message)
604604
await server.reached
605+
assert.equal(
606+
await server.droppedSoon(300),
607+
false,
608+
'The app dropped the fetch as soon as the script returned'
609+
)
605610
}
606611
)
607612

0 commit comments

Comments
 (0)