Skip to content

Commit

Permalink
Fix docks/API/route example syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden committed Dec 4, 2024
1 parent 97160c4 commit 28b4584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/API/route/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fetchMock
.route('*', 'ok')
.route('*', 404)
.route('*', {results: []})
.route('*', {throw: new Error('Bad kitty')))
.route('*', {throw: new Error('Bad kitty')})
.route('*', new Promise(res => setTimeout(res, 1000, 404)))
.route('*', (url, opts) => {
status: 302,
Expand Down

0 comments on commit 28b4584

Please sign in to comment.