Improve error formatting in tests

- Replace [object Object] errors with readable messages by using robust error formatting across test suites
- Introduce formatTestError helper and apply it in all catch blocks and error throws
- Update approvalPipelineTests and related suites to utilize improved error extraction for better debugging
This commit is contained in:
gpt-engineer-app[bot]
2025-11-10 17:03:25 +00:00
parent e0001961bf
commit ade1810a01
6 changed files with 92 additions and 27 deletions

View File

@@ -7,5 +7,6 @@
export { IntegrationTestRunner } from './testRunner';
export { allTestSuites } from './suites';
export { formatResultsAsMarkdown, formatSingleTestAsMarkdown } from './formatters';
export { formatTestError } from './formatTestError';
export type { TestResult, Test, TestSuite } from './testRunner';