GuidesAPI Reference
API Reference

duplicateGroup(groupId)

Duplicate an existing group including all of its mocks.

import Mimic from 'mimic';

const group = Mimic.groups[0];
Mimic.duplicateGroup(group.id);