We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf96b47 commit 476b4abCopy full SHA for 476b4ab
packages/modules/nats/src/nats-container.ts
@@ -122,12 +122,11 @@ export class StartedNatsContainer extends AbstractStartedContainer {
122
) {
123
super(startedTestContainer);
124
const port = startedTestContainer.getMappedPort(CLIENT_PORT);
125
- this.connectionOptions = Object.assign({
+ this.connectionOptions = {
126
servers: `${this.startedTestContainer.getHost()}:${port}`,
127
-
128
user: this.username,
129
pass: this.password,
130
- });
+ };
131
}
132
133
public getConnectionOptions(): NatsConnectionOptions {
0 commit comments