Skip to content

Commit

Permalink
feat: enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
playerx committed Apr 20, 2024
1 parent 03a7c1f commit 4396e36
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/test.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// import { nats } from '../deps.ts'
// import { NatsTransport } from '../src/nats.transport.ts'
// import { testSuite_01 } from './transport/01_connect.ts'
// import { testSuite_02 } from './transport/02_publish.ts'
// import { testSuite_03 } from './transport/03_execute.ts'
import { nats } from '../deps.ts'
import { NatsTransport } from '../src/nats.transport.ts'
import { testSuite_01 } from './transport/01_connect.ts'
import { testSuite_02 } from './transport/02_publish.ts'
import { testSuite_03 } from './transport/03_execute.ts'

// const transport = new NatsTransport({
// natsServerUrls: ['nats://127.0.0.1:4222'],
// StringCodec: nats.StringCodec,
// connect: nats.connect,
// })
const transport = new NatsTransport({
natsServerUrls: ['nats://127.0.0.1:4222'],
StringCodec: nats.StringCodec,
connect: nats.connect,
})

// testSuite_01(transport)
// testSuite_02(transport)
// testSuite_03(transport)
testSuite_01(transport)
testSuite_02(transport)
testSuite_03(transport)

0 comments on commit 4396e36

Please sign in to comment.