Skip to content

Commit

Permalink
Link to getLocal/getRemote methods within relevant JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Feb 24, 2023
1 parent a9509b3 commit 1004117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mockttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export type PortRange = { startPort: number, endPort: number };
/**
* A mockttp instance allow you to start and stop mock servers and control their behaviour.
*
* This should be created using the exported `getLocal()` or `getRemote()` methods, like:
* This should be created using the exported {@link getLocal} or {@link getRemote} methods, like
* so:
*
* ```
* const mockServer = require('mockttp').getLocal()
Expand Down

0 comments on commit 1004117

Please sign in to comment.