Skip to content

Commit 6695790

Browse files
committed
Fix example
1 parent 8d4f90c commit 6695790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
html = `<marquee>${url.searchParams.get('q') || '🐈 Nothing to preview 🐈'}</marquee>`
2424
}
2525
const promiseHTML = new Promise(resolve => resolve(html))
26-
return new Promise(resolve => resolve({text: () => promiseHTML}))
26+
return new Promise(resolve => resolve({ok: true, text: () => promiseHTML}))
2727
}
2828
window.fetch = fakeFetch
2929
</script>

0 commit comments

Comments
 (0)