Skip to content

Commit

Permalink
ci: 8
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jan 12, 2025
1 parent 3926e13 commit 36e4f50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/pgmq-js/test/lib/90.route/92.router.getOne.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ describe(fileShortPath(import.meta.url), () => {
const opts: GetRouteOptions = { routeId }
route = await mq.router.getOne(opts)
assert(route, 'should found route')
assert.deepStrictEqual(route?.queueIds, queueIds, 'queueIds not match')
assert.deepStrictEqual(
route?.queueIds,
queueIds,
'queueIds not match'
+ `\nroute: ${JSON.stringify(route)}`
+ `\nqueueIds: ${JSON.stringify(queueIds)}`,
)
})

it(`getOne(${rndString}) by routeName`, async () => {
Expand Down

0 comments on commit 36e4f50

Please sign in to comment.