Skip to content

Commit b49d70e

Browse files
committed
test: change toThrow to toThrowError
1 parent 83731b2 commit b49d70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/middleware-flexible-checksums/src/getChecksumAlgorithmForRequest.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe(getChecksumAlgorithmForRequest.name, () => {
6565
};
6666
expect(() => {
6767
getChecksumAlgorithmForRequest(mockInput, mockOptions);
68-
}).toThrow(
68+
}).toThrowError(
6969
`The checksum algorithm "${unsupportedAlgo}" is not supported by the client.` +
7070
` Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`
7171
);

0 commit comments

Comments
 (0)