Skip to content
On this page

Empower Your Test Results with AI-Powered Insights ->

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.