Skip to content
On this page

clearInteractions

Removes all interactions from the mock server.

Syntax

js
clearInteractions()

Usage

โœ… Correct Usage

js
mock.clearInteractions();

Examples

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

mock.clearInteractions();

Released under the MIT License.