Closed matthias-Che closed 1 year ago
To stop the crons you just need to call stopAllCrons
in the afterAll
function. It seems the tests are failing because of some imports at the moment?
SchedulerService got removed. No need to create tests for this correct?
Yes, sadly NestJS Schedule was causing some issues, and I couldn't find a solution for it.
It was blocking production launch, therefore I had to take it out in favor of resolving statuses just-in-time.
I've started writing some tests for SchedulerService, however I am unsure how to stop crons.