# X_TEST_RUN_JOBS_EXPECTED

## Means

toHaveEnqueued was handed something other than the runJobs fixture

## Typical cause

the receiver is the queue a test owns, and this one has no enqueued() reader

## Fix

`unitTest(..., async ({ runJobs }) => { ...; await expect(runJobs).toHaveEnqueued(sendWelcome, { userId }); })`

[Testing](/error-codes#testing)
