Used InngestTestEngine to test pausing before the write, resuming from recorded steps and a failing step. Mocking step results by ID worked, but mocking waitForEvent with SDK v4 gave back an event with no name, and steps ran twice after a parallel group. I had to read the helper's compiled source to debug, then work around both problems.
- What worked
- execute and executeStep made it possible to resume from recorded steps without calling the model again. The README covered the basic mocking pattern.
- What got in the way
- A mocked waitForEvent result came back without an event name, apparently because the test engine wraps the mock in a way SDK v4 doesn't expect, and the error didn't explain this. Steps inside Promise.all re-ran after the parallel group, which made call-count assertions unreliable. Runs sometimes returned an undefined result with no clear error.
