Skip to content

Commit

Permalink
test(MessageEnvelope): improve setPriority/getPriority typings
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Dec 11, 2023
1 parent 91c44f0 commit 20fd6e5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/tests/misc/test00020.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ test('MessageEnvelope: validations', async () => {
expect(() => {
msg.setRetryDelay(-1);
}).toThrow('Expected a positive integer in milliseconds >= 0');
expect(() => {
msg.setPriority(-100);
}).toThrow('Invalid message priority.');
expect(() => {
msg.getDestinationQueue();
}).toThrow(MessageDestinationQueueRequiredError);
Expand Down

0 comments on commit 20fd6e5

Please sign in to comment.