eh that'll do for now

pull/10798/head
Rich Harris 2 years ago
parent 4474625ad0
commit a790092369

@ -6,7 +6,7 @@
let resolve;
let value = 0;
export let logs = [];
async function new_promise() {
promise = new Promise(r => {
resolve = r;
@ -20,7 +20,8 @@
export async function test() {
resolve_promise();
await Promise.resolve();
await tick();
await tick(); // TODO figure out why we need two ticks here
new_promise();
resolve_promise();
return tick();
@ -33,4 +34,4 @@
Loading...
{:then state}
<Component {state} {logs} />
{/await}
{/await}

Loading…
Cancel
Save