Created
January 30, 2017 20:29
-
-
Save jdmunro/a52dae98bd1b0f95695b6a37e7567765 to your computer and use it in GitHub Desktop.
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('Meal Plan List', () => { | |
it('renders correctly', () => { | |
const week = immutable.Map({ | |
week: 4, | |
year: 2017, | |
}); | |
store.dispatch(importMeals(SAMPLE_MEALS)); | |
store.dispatch(setVisibleWeek(week)); | |
const tree = renderer.create( | |
<MealList | |
store={store} | |
/> | |
).toJSON(); | |
expect(tree).toMatchSnapshot(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment