Skip to content

Commit 1183ab8

Browse files
yavorgmetcoder95
authored andcommitted
Fixing broken best practices doc links (nodejs#1159)
1 parent 9bed712 commit 1183ab8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/best-practices/mocking-request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mocking Request
22

3-
Undici have its own mocking [utility](docs/api/MockAgent.md). It allow us to intercept undici HTTP request and return mocked value instead. It can be useful for testing purposes.
3+
Undici have its own mocking [utility](../api/MockAgent.md). It allow us to intercept undici HTTP request and return mocked value instead. It can be useful for testing purposes.
44

55
Example:
66

@@ -70,7 +70,7 @@ const badRequest = await bankTransfer('1234567890', '100')
7070
assert.deepEqual(badRequest, { message: 'bank account not found' })
7171
```
7272

73-
Explore other MockAgent functionality [here](docs/api/MockAgent.md)
73+
Explore other MockAgent functionality [here](../api/MockAgent.md)
7474

7575
## Debug Mock Value
7676

docs/best-practices/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Connecting through a proxy is possible by:
44

5-
- Using [AgentProxy](docs/api/ProxyAgent.md).
5+
- Using [AgentProxy](../api/ProxyAgent.md).
66
- Configuring `Client` or `Pool` constructor.
77

88
The proxy url should be passed to the `Client` or `Pool` constructor, while the upstream server url

0 commit comments

Comments
 (0)