Skip to content

Commit

Permalink
test(zeebe): close Zeebe cllent in StreamJob test
Browse files Browse the repository at this point in the history
  • Loading branch information
jwulf committed Jun 5, 2024
1 parent 7d7cfd1 commit 1487c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/zeebe/integration/StreamJobs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ test('Can activate jobs using StreamActivatedJobs RPC', async () => {
expect(job.variables.foo).toBe('bar')
const res = job.complete({})
if (counter === 3) {
zbc.close()
resolve(null)
}
return res
Expand Down

0 comments on commit 1487c62

Please sign in to comment.