mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-06 18:33:12 +00:00
Add fake API to allow for testing of requests
This commit is contained in:
parent
2686fb904c
commit
782c88d082
7 changed files with 86 additions and 46 deletions
|
@ -1,4 +1,4 @@
|
|||
import Items from '%/lib/testData.js';
|
||||
import Items from '%/lib/test-data.js';
|
||||
|
||||
export async function getPopularToday() {
|
||||
const res = await fetch("/api/items")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue