diff --git a/node/src/tests/test-Consumer.ts b/node/src/tests/test-Consumer.ts index e006bd7caf..3723019460 100644 --- a/node/src/tests/test-Consumer.ts +++ b/node/src/tests/test-Consumer.ts @@ -1029,7 +1029,7 @@ test('consumer.close() succeeds', async () => transportDump.consumerIds = transportDump.consumerIds.sort(); - expect(routerDump) + expect(transportDump) .toMatchObject( { id : transport2.id,