Skip to content

Commit 85cf8d4

Browse files
committed
fix reason code
1 parent 5a89b88 commit 85cf8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mqtt5.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export async function subPubUnsubTest(client: mqtt5.Mqtt5Client, qos: mqtt5.QoS,
399399
topicFilters: [ topic ]
400400
});
401401

402-
expect(unsuback.reasonCodes).toEqual([qos])
402+
expect(unsuback.reasonCodes).toEqual([mqtt5.UnsubackReasonCode.Success])
403403

404404
await client.publish({
405405
topicName: topic,

0 commit comments

Comments
 (0)