Skip to content

Commit

Permalink
erm
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 30, 2018
1 parent da293fd commit 6aef711
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_usage/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ parameters:
- name: includeContentLength<sup></sup>
default: true
content: Automatically sets a `content-length` header on each response.
- name: fallbackToNetwork<sup>†</sup>
- name: fallbackToNetwork
default: "false"
content: |-
- `true`: Unhandled calls fall through to the network
- `false`: Unhandled calls throw an error
- `'always'`: All calls fall through to the network, effectively disabling fetch-mock.
- name: overwriteRoutes<sup>†</sup>
- name: overwriteRoutes
default: "undefined"
content: |-
Determines behaviour if a new route has the same name (or inferred name) as an existing one
- `undefined`: An error will be throw when routes clash
- `true`: Overwrites the existing route
- `false`: Appends the new route to the list of routes
- name: warnOnFallback<sup>†</sup>
- name: warnOnFallback
default: true
content: |-
Print a warning if any call is caught by a fallback handler (set using the `fallbackToNetwork` option or `catch()`)
Expand Down

0 comments on commit 6aef711

Please sign in to comment.