fork of hey-api/openapi-ts because I need some additional things

Abstract repeated snapshot code into helper function master

Created expectBundledSchemaToMatchSnapshot() helper to eliminate repeated code in all 5 bundle tests. The helper handles: - Creating output and snapshot paths - Ensuring directory exists - Writing bundled result to temp file - Comparing with snapshot This reduces duplication and makes tests more maintainable. Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>


+27 -60
1 changed file