mockaton 0.9.2 → 0.9.3
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 +9 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,17 +78,15 @@ node my-mockaton.js
|
|
|
78
78
|
## Config Options
|
|
79
79
|
```ts
|
|
80
80
|
interface Config {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
delayMilliseconds?: number
|
|
91
|
-
database?: object
|
|
81
|
+
mocksDir: string
|
|
82
|
+
staticDir?: string
|
|
83
|
+
host?: string,
|
|
84
|
+
port?: number
|
|
85
|
+
delay?: number
|
|
86
|
+
cookies?(): object
|
|
87
|
+
database?: object
|
|
88
|
+
skipOpen?: boolean
|
|
89
|
+
allowedExt?: RegExp
|
|
92
90
|
}
|
|
93
91
|
```
|
|
94
92
|
|
|
@@ -155,8 +153,6 @@ api/foo/?bar=[bar].GET.200.json
|
|
|
155
153
|
api/foo/(my comment).GET.200.json
|
|
156
154
|
```
|
|
157
155
|
|
|
158
|
-
---
|
|
159
|
-
|
|
160
156
|
|
|
161
157
|
---
|
|
162
158
|
## Mock Precedence
|
package/package.json
CHANGED