Skip to content

Commit 60d6211

Browse files
committed
fix pool
1 parent e753453 commit 60d6211

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/pool.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ describe('Pool', () => {
1818
before(async () => {
1919
await createVhost(vhost);
2020
conn = await amqplib.connect({
21-
hostname: brokerOptions.connection.host,
22-
port: brokerOptions.connection.port,
23-
username: brokerOptions.connection.username,
24-
password: brokerOptions.connection.password,
21+
...brokerOptions.connection,
2522
vhost,
2623
});
2724

0 commit comments

Comments
 (0)