clear raf tasks after test

blockless
Rich Harris 11 months ago
parent 8537c5c0c1
commit 68ee33289b

@ -312,6 +312,8 @@ async function run_test_variant(
assert.fail('Expected a runtime error'); assert.fail('Expected a runtime error');
} }
} finally { } finally {
raf.tick(Infinity);
instance.$destroy(); instance.$destroy();
assert_html_equal( assert_html_equal(
target.innerHTML, target.innerHTML,

Loading…
Cancel
Save