0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

test(core): assert the stored error when a restarted run had failed

The failed-race test checked the status, the stored snapshot and the lease, but never the error on the result restart() returns, so the failed branch of #storedRestartResult could drop the error without failing a test. Assert it is an Error carrying the message the step threw.

Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
mastra-platform[bot] 2026-11-17 03:44:57 +00:00
commit b442c9dbdd