docs: improve jobs autorun docs, adds e2e test (#12196)

This clarifies that jobs.autoRun only *runs* already-queued jobs. It does not queue the jobs for you.

Also adds an e2e test as this functionality had no e2e coverage
This commit is contained in:
Alessio Gravili
2025-06-05 09:19:19 -07:00
committed by GitHub
parent 8d7dbe6c56
commit 7c05c775cb
64 changed files with 188 additions and 186 deletions

View File

@@ -17,9 +17,7 @@ describe('Collections - Plugins', () => {
})
afterAll(async () => {
if (typeof payload.db.destroy === 'function') {
await payload.db.destroy()
}
await payload.destroy()
})
it('created pages collection', async () => {