Last active
August 5, 2018 18:57
-
-
Save alaboudi/33b62add007432cc4bb1d84e8d6e6af2 to your computer and use it in GitHub Desktop.
Correct Reducer Initial State Test
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
import { someReducer } from './someReducer.js' | |
describe('someReducer', () => { | |
it('should return the correct initial state', () => { | |
expect(someReducer(undefined, {}).toEqual({ | |
prop1: 'someValue1', | |
prop2: 'someValue2', | |
..... | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment