Skip to content
On this page

stop

stops the mock server.

Syntax

js
stop()

Usage

โœ… Correct Usage

js
await mock.stop();

Examples

js
const { mock } = require('pactum');

await mock.stop();

Released under the MIT License.