Last active
June 17, 2017 02:13
-
-
Save lotif/a78b948bfa20a7fd670982279ae885ae to your computer and use it in GitHub Desktop.
before each for integration tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('integration tests', () => { | |
let store; | |
let dispatchSpy; | |
let router; | |
beforeEach(() => { | |
router = { | |
params: { myParam: 'any-params-you-have' }, | |
}; | |
({ store, dispatchSpy } = setupIntegrationTest({ myReducer }, router)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment