You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ That command will start to serve your mocks on port `9090` by default.
27
27
[-t | --toPath] with default value ``
28
28
[-c | --capture] with default value `false`
29
29
[-v | --verbose] with default value `false`
30
+
[-d | --disable-mocks] with default value `false`
30
31
31
32
These arguments are optional. You can use `mockit` command with any one of them or any combination of them.
32
33
@@ -117,3 +118,20 @@ module.exports = {
117
118
118
119
When capture mode enabled, if you don't have a mock file for a request and if you have a proxy definition, a mock file will automatically generated for you for successful responses from your origin.
119
120
121
+
### Disabling mocks
122
+
123
+
You can also disable mocks to just use it as proxy via `--disable-mocks` cli parameter or `disableMocks` property in config file.
0 commit comments