Skip to content

Commit

Permalink
another fix for jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 13, 2021
1 parent a7b07a5 commit cda1e3f
Show file tree
Hide file tree
Showing 2 changed files with 42 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 @@ -38,6 +38,6 @@ test('should render', async () => {

test('should render no index pattern warning when there are no matching index patterns', async () => {
const component = shallow(<GeoIndexPatternSelect onChange={() => {}} value={'indexPatternId'} />);
component.setState({ noGeoIndexPatternsExist: true });
component.setState({ noIndexPatternsExist: true });
expect(component).toMatchSnapshot();
});

0 comments on commit cda1e3f

Please sign in to comment.