Skip to content

Commit

Permalink
Fix JEST
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Nov 19, 2021
1 parent 11305e0 commit 803c27c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('LayerPanel', () => {

const group = instance
.find(EuiFormRow)
.findWhere((e) => e.prop('error') === 'Required dimension');
.findWhere((e) => e.prop('error') === 'Requires field');

expect(group).toHaveLength(1);
});
Expand Down Expand Up @@ -258,7 +258,7 @@ describe('LayerPanel', () => {

const group = instance
.find(EuiFormRow)
.findWhere((e) => e.prop('error') === 'Required 2 dimensions');
.findWhere((e) => e.prop('error') === 'Requires 2 fields');

expect(group).toHaveLength(1);
});
Expand Down

0 comments on commit 803c27c

Please sign in to comment.