# X_TEST_JOB_EXPECTED

## Means

a matcher expected a job declaration and got something else

## Typical cause

`toEmitSteps`/`recordSteps` called on `job.run` or an unrelated value

## Fix

`call toEmitSteps(myJob)` with the job export, not `toEmitSteps(myJob.run)`

[Testing](/error-codes#testing)
