Skip to content

Commit

Permalink
test(lib): update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
manushak committed Aug 6, 2024
1 parent a6abeed commit 98bdee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/if-run/lib/regroup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('lib/regroup: ', () => {
expect(error).toBeInstanceOf(InputValidationError);
expect(error).toEqual(
new InputValidationError(
'"groups" parameter is required. Error code: invalid_type.'
'"regroup" parameter is not an array or should contain at least one key. Error code: invalid_type.'
)
);
}
Expand Down Expand Up @@ -135,7 +135,7 @@ describe('lib/regroup: ', () => {
expect(error).toBeInstanceOf(InputValidationError);
expect(error).toEqual(
new InputValidationError(
'"groups" parameter is regroup phase is not an array or should contain at least one key.. Error code: too_small.'
'"regroup" parameter is array must contain at least 1 element(s). Error code: too_small.'
)
);
}
Expand Down

0 comments on commit 98bdee7

Please sign in to comment.