morsdyce/mimic

When duplicating a mock, editing changes the original mock

morsdyce opened this issue · 3 comments

When duplicating a mock, editing changes the original mock

I'll take this one. Seems that we need to use cloneDeep in duplicateMock function.

Fixed in 54ac086.
Can be closed.

merged to master and released as a beta release