We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e753453 commit 60d6211Copy full SHA for 60d6211
test/pool.test.ts
@@ -18,10 +18,7 @@ describe('Pool', () => {
18
before(async () => {
19
await createVhost(vhost);
20
conn = await amqplib.connect({
21
- hostname: brokerOptions.connection.host,
22
- port: brokerOptions.connection.port,
23
- username: brokerOptions.connection.username,
24
- password: brokerOptions.connection.password,
+ ...brokerOptions.connection,
25
vhost,
26
});
27
0 commit comments