-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
type: featureNew enhancement or request 🚀New enhancement or request 🚀type: questionFurther information is requestedFurther information is requested
Description
If you want the same state to be set in all unit tests in a file, this is how you do it now:
describe('...', () => {
beforeEach(() => {
mockReactRedux().state({ value: true });
});
it('...', () => {/* ... */});
});
What if mockReactRedux()
could be called in all its normal ways outside a test to apply some defaults?
mockReactRedux().state({ value: true });
describe('...', () => {
it('...', () => {/* ... */});
});
Metadata
Metadata
Assignees
Labels
type: featureNew enhancement or request 🚀New enhancement or request 🚀type: questionFurther information is requestedFurther information is requested