Skip to content

Commit 28b4584

Browse files
committed
Fix docks/API/route example syntax error
1 parent 97160c4 commit 28b4584

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)