Skip to content

Commit

Permalink
test: fix typo (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-roper authored Oct 3, 2024
1 parent 9c1723a commit 233755e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ describe("ofetch", () => {
// onResponse
await expect(
$fetch(getURL("/ok"), {
onRequest: () => {
onResponse: () => {
throw new Error("error in onResponse");
},
})
Expand Down

0 comments on commit 233755e

Please sign in to comment.