Detect MockRenderFactory
outside of beforeAll
or beforeEach
#629
Closed
Description
in this case we should provide install()
.
describe('', () => {
const factory = MockRenderFactory(TargetComponent);
beforeAll(() => factory.install());
it('', () => {
const fixture = factory(); // should do own install or throw if it isn't possible with the suggestion to use `.install()`.
});
});