Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nkhristinin committed Feb 21, 2023
1 parent 4ecde4d commit 5b5cee0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ describe('BuilderEntryItem', () => {
).onBlur();
});

expect(mockSetErrorExists).toHaveBeenCalledWith(true);
expect(mockSetErrorExists).toHaveBeenCalledWith({ '123': true });
});

test('it invokes "setErrorsExist" when invalid value inputted for field value input', async () => {
Expand Down Expand Up @@ -960,7 +960,7 @@ describe('BuilderEntryItem', () => {
).onSearchChange('hellooo');
});

expect(mockSetErrorExists).toHaveBeenCalledWith(true);
expect(mockSetErrorExists).toHaveBeenCalledWith({ '123': true });
});

test('it invokes "setWarningsExist" when invalid value in field value input', async () => {
Expand Down

0 comments on commit 5b5cee0

Please sign in to comment.