Skip to content

Commit

Permalink
Merge pull request #890 from JamyGolden/main
Browse files Browse the repository at this point in the history
Fix docks/API/route code-example syntax error
  • Loading branch information
wheresrhys authored Dec 4, 2024
2 parents 97160c4 + 28b4584 commit 3dba379
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 3dba379

Please sign in to comment.