Closed Rcuz8 closed 1 month ago
E2E tests will never exit when using NestJS Queues: https://docs.nestjs.com/techniques/queues.
https://github.com/Rcuz8/nestjs-queues-bug
No response
The e2e tests should exit
@nestjs/bullmq
10.4.2
"dependencies": { "@nestjs/bullmq": "^10.1.1", "@nestjs/common": "^10.0.0", "@nestjs/config": "^3.2.3", "@nestjs/core": "^10.0.0", "@nestjs/platform-express": "^10.0.0", "bullmq": "^5.10.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "reflect-metadata": "^0.2.0", "rxjs": "^7.8.1" },
20.11.0
You need to call await app.close() in the afterAll/afterEach hook
await app.close()
Is there an existing issue for this?
Current behavior
E2E tests will never exit when using NestJS Queues: https://docs.nestjs.com/techniques/queues.
Minimum reproduction code
https://github.com/Rcuz8/nestjs-queues-bug
Steps to reproduce
No response
Expected behavior
The e2e tests should exit
Package
Other package
@nestjs/bullmq
NestJS version
10.4.2
Packages versions
Node.js version
20.11.0
In which operating systems have you tested?
Other
No response