Commit 96b8426
committed
fix(test): avoid JSON.stringify on OpenAPI schema in API assertion
OpenAPI schema objects can contain circular references after resolution.
JSON.stringify threw when formatting the assert message; use
util.inspect instead so failure output stays safe and readable.1 parent 8547d87 commit 96b8426
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
| 703 | + | |
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
0 commit comments