mockaton 6.4.3 → 6.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,18 +134,6 @@ export default function optionalName(request, response) {
|
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
## Proxying Routes
|
|
138
|
-
`Config.proxyFallback` lets you specify a target
|
|
139
|
-
server for serving routes you don’t have mocks for.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
## Delay 🕓
|
|
143
|
-
The clock icon next to the mock selector is a checkbox for delaying a
|
|
144
|
-
particular response. They are handy for testing spinners.
|
|
145
|
-
|
|
146
|
-
The delay is globally configurable via `Config.delay = 1200` (milliseconds).
|
|
147
|
-
|
|
148
|
-
|
|
149
137
|
## File Name Convention
|
|
150
138
|
|
|
151
139
|
|
|
@@ -197,6 +185,19 @@ api/foo/.GET.200.json
|
|
|
197
185
|
```
|
|
198
186
|
|
|
199
187
|
---
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
## `Config.proxyFallback`
|
|
191
|
+
Lets you specify a target server for serving routes you don’t have mocks for.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
## `Config.delay` 🕓
|
|
195
|
+
The clock icon next to the mock selector is a checkbox for delaying a
|
|
196
|
+
particular response. They are handy for testing spinners.
|
|
197
|
+
|
|
198
|
+
The delay is globally configurable via `Config.delay = 1200` (milliseconds).
|
|
199
|
+
|
|
200
|
+
|
|
200
201
|
## `Config.staticDir`
|
|
201
202
|
These files don’t use the mock filename convention. They take precedence
|
|
202
203
|
over mocks. Also, they get served on the same address, so no CORS issues.
|
package/package.json
CHANGED