Skip to content

Commit

Permalink
add snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed Sep 18, 2020
1 parent bb478aa commit 9fce05d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ const defaultProps = {

describe('resolution editor', () => {
test('should omit super-fine option', async () => {
const component = shallow(<ResolutionEditor />);
const component = shallow(<ResolutionEditor {...defaultProps} />);
expect(component).toMatchSnapshot();
});
test('should add super-fine option', async () => {
const component = shallow(<ResolutionEditor includeSuperFine={true} />);
const component = shallow(<ResolutionEditor {...defaultProps} includeSuperFine={true} />);
expect(component).toMatchSnapshot();
});
});

0 comments on commit 9fce05d

Please sign in to comment.