Several helper unit test files directly instantiate real models from @asyncapi/parser, for example:
new Message(...)
new Schema(...)
new AsyncAPIDocument(...)
new TagV2(...)
Affected files:
src/helpers/__tests__/message.test.ts src/helpers/__tests__/schema.test.ts src/helpers/__tests__/sidebar.test.ts sc/helpers/__tests__/specification.test.ts
This creates a hard runtime dependency between helper unit tests and parser internals.