Hello! Trying to do some testing on async jobs but I'm not sure what I can test. The asyncTest jobs array is empty. I've slept the thread a second and a half as well to get the scheduled task behavior and ensure the job is on the queue, but the docs don't have much help.
@Test func testQueues() async throws {
let app: Application = try await Application.make(.testing)
app.queues.use(.asyncTest)
app.queues.schedule(QuestionReliability()).everySecond() // QuestionReliability is an AsyncScheduledJob
try app.queues.startScheduledJobs()
/* Tests here ?*/
try await app.asyncShutdown()
}
Thanks for any help!
to @potent steppe, who now has 51