GuidesAPI Reference
API Reference

toggleMock(mockId)

Toggle a mock on or off based on its current state.

import Mimic from 'mimic';

Mimic.toggleMock('mock-id');