fix(curriculum): stub fetch in fCC Authors Page workshop step 26 tests (#69240)

This commit is contained in:
majestic-owl448
2026-08-04 12:36:04 +02:00
committed by GitHub
parent c5ff73d401
commit 80b751082c
@@ -11,6 +11,12 @@ When calling an asynchronous function, you can either await the function's retur
Add a function call to `initialFetch` in the indicated space in the editor.
# --before-all--
```js
window.fetch = () => Promise.resolve({json: () => Promise.resolve([{ author: 'Whoever', image: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==', url: "http://not-a-real-url.nowhere/", bio: 'words go here' }])});
```
# --hints--
You should call `initialFetch` without any arguments.