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:
parent
7d515a5052
commit
b442c9dbdd
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue