Skip to content

Commit 3dba379

Browse files
authored
Merge pull request #890 from JamyGolden/main
Fix docks/API/route code-example syntax error
2 parents 97160c4 + 28b4584 commit 3dba379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/API/route/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fetchMock
108108
.route('*', 'ok')
109109
.route('*', 404)
110110
.route('*', {results: []})
111-
.route('*', {throw: new Error('Bad kitty')))
111+
.route('*', {throw: new Error('Bad kitty')})
112112
.route('*', new Promise(res => setTimeout(res, 1000, 404)))
113113
.route('*', (url, opts) => {
114114
status: 302,

0 commit comments

Comments
 (0)