Skip to content

Commit 4406492

Browse files
author
Carlos Atencio
committed
Added note on skipDefaults
1 parent 37aa544 commit 4406492

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,13 @@ Note that in both your protractor configuration and tests, a plugin can be decla
237237

238238
See this [sample plugin](https://github.com/atecarlos/protractor-http-mock-sample-plugin) for more information.
239239

240+
### Defaults
241+
242+
If necessary, default mocks and plugins can be skipped for a particular test simply by passing true at the end of your `mock` call:
243+
244+
mock(mocks, plugins, true);
245+
246+
240247
### Examples
241248
Included in the code base is an extensive list examples on how to use all the features of this plugin. Please take a look if you have any questions.
242249

0 commit comments

Comments
 (0)