npm rewiremock 1.3.5
v 1.3.5

latest releases: 3.14.5, 3.14.4, 3.14.3...
7 years ago

Fixed:

  • in case you use callThought with isolation - mocked module will be treated as passBy automagicly. In other words - if parent of a module is listed as a mock(or as a passBy) - it will not bypass isolation.

Added:

  • isolation got options as argument. First, and the only one,- noAutoPassBy to switch of behaviour or the last change. Strict isolation is a useful thing.

Don't miss a new rewiremock release

NewReleases is sending notifications on new releases.