test(desktop): expect each exported task summary

The export result lists task summaries on tasks. The seed-policy check
was still looking for a single task object.
This commit is contained in:
Cursor Agent committed 2026-11-10 11:39:02 +00:00
1 parent e9d620b400
commit 217c84ea7b
1 file changed
+1 -1
@@ -145,7 +145,7 @@ print(json.dumps(_view(Path(sys.argv[2]))))
} else {
if (withTask instanceof Error) throw withTask;
expect(withTask.normalized_result).toMatchObject({
task: { failing_on_seed: ["done"] },
tasks: [{ failing_on_seed: ["done"] }],
});
}
},