Skip to content

Commit 476b4ab

Browse files
remove object assign and lint
1 parent cf96b47 commit 476b4ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/modules/nats/src/nats-container.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,11 @@ export class StartedNatsContainer extends AbstractStartedContainer {
122122
) {
123123
super(startedTestContainer);
124124
const port = startedTestContainer.getMappedPort(CLIENT_PORT);
125-
this.connectionOptions = Object.assign({
125+
this.connectionOptions = {
126126
servers: `${this.startedTestContainer.getHost()}:${port}`,
127-
128127
user: this.username,
129128
pass: this.password,
130-
});
129+
};
131130
}
132131

133132
public getConnectionOptions(): NatsConnectionOptions {

0 commit comments

Comments
 (0)