If false, each call to require()
or import()
generates a new mock module. If true, subsequent calls will return the same module mock, and the mock module is inserted into the CommonJS cache.
property
test.default.MockModuleOptions.cache
cache?: boolean