Skip to content

Commit

Permalink
Merge pull request #48 from pactumjs/update-docs-withcore
Browse files Browse the repository at this point in the history
Update docs for withCore API
  • Loading branch information
leelaprasadv authored Apr 14, 2024
2 parents e78bf8b + c6eb5a2 commit c5adbe8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/api/requests/withCore.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ await spec()
.get('https://pactumjs.github.io/')
.withCore({ agent })
.expectStatus(200);
```
```

::: warning WARNING
If `withCore` is used at the end in request chaining, all [http core options](https://nodejs.org/api/http.html#httprequesturl-options-callback) provided in `withCore` will take precedence and they will override any previously values.
:::

0 comments on commit c5adbe8

Please sign in to comment.