Skip to content

Commit c8abf9e

Browse files
add option in MockAgent.md
1 parent 3067dae commit c8abf9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/docs/api/MockAgent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Extends: [`AgentOptions`](/docs/docs/api/Agent.md#parameter-agentoptions)
2020

2121
* **ignoreTrailingSlash** `boolean` (optional) - Default: `false` - set the default value for `ignoreTrailingSlash` for interceptors.
2222

23+
* **acceptNonStandardSearchParameters** `boolean` (optional) - Default: `false` - set to `true` if the matcher should also accept non standard search parameters such as multi-value items specified with `[]` (e.g. `param[]=1&param[]=2&param[]=3`) and multi-value items which values are comma separated (e.g. `param=1,2,3`).
24+
2325
### Example - Basic MockAgent instantiation
2426

2527
This will instantiate the MockAgent. It will not do anything until registered as the agent to use with requests and mock interceptions are added.

0 commit comments

Comments
 (0)