Skip to content

Commit

Permalink
test: change toThrow to toThrowError
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Dec 20, 2024
1 parent bbc501f commit 8ad8496
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe(getChecksumAlgorithmForRequest.name, () => {
};
expect(() => {
getChecksumAlgorithmForRequest(mockInput, mockOptions);
}).toThrow(
}).toThrowError(
`The checksum algorithm "${unsupportedAlgo}" is not supported by the client.` +
` Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`
);
Expand Down

0 comments on commit 8ad8496

Please sign in to comment.