Skip to content

Commit

Permalink
adapt some snapshot test (#68489) (#68740)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet authored Jun 10, 2020
1 parent 88ba5ad commit e8cc6b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 134 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 @@ -397,7 +397,7 @@ describe('SavedObjectsTable', () => {
component.instance().showImportFlyout();
component.update();

expect(component.find(Flyout)).toMatchSnapshot();
expect(component.find(Flyout).length).toBe(1);
});

it('should hide the flyout', async () => {
Expand Down Expand Up @@ -452,7 +452,7 @@ describe('SavedObjectsTable', () => {
} as SavedObjectWithMetadata);
component.update();

expect(component.find(Relationships)).toMatchSnapshot();
expect(component.find(Relationships).length).toBe(1);
expect(component.state('relationshipObject')).toEqual({
id: '2',
type: 'search',
Expand Down

0 comments on commit e8cc6b4

Please sign in to comment.