File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/modules/nats/src Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ describe("NatsContainer", () => {
6969
7070 // JetStream {
7171 it ( "should start with JetStream " , async ( ) => {
72- // set username and password like this
72+ // enable JS
7373 const container = await new NatsContainer ( ) . withJS ( ) . start ( ) ;
7474
7575 const nc = await connect ( container . getConnectionOptions ( ) ) ;
7676
7777 // just take manager for check js
78- const jsm = await nc . jetstream ( ) . jetstreamManager ( )
78+ await nc . jetstream ( ) . jetstreamManager ( )
7979
8080 // close the connection
8181 await nc . close ( ) ;
@@ -87,7 +87,6 @@ describe("NatsContainer", () => {
8787 } ) ;
8888
8989 it ( "should fail without JetStream " , async ( ) => {
90- // set username and password like this
9190 const container = await new NatsContainer ( ) . start ( ) ;
9291
9392 const nc = await connect ( container . getConnectionOptions ( ) ) ;
You can’t perform that action at this time.
0 commit comments