GuidesAPI Reference
API Reference

setMode(mode)

Allows you to run mimic in different environments.

Currently supported environments: react-native, worker, normal

import API from 'mimic';

API.setMode('react-native')