diff --git a/src/test/plugin.test.ts b/src/test/plugin.test.ts index ce76054..255bc65 100644 --- a/src/test/plugin.test.ts +++ b/src/test/plugin.test.ts @@ -303,7 +303,7 @@ describe('OpenAPI EventCatalog Plugin', () => { expect(schema).toBeDefined(); }); - it('the original openapi file is not added but the parsed version', async () => { + it('when savedParsedSpecFile is true, the openapi is parsed and refs are resolved', async () => { const { getService } = utils(catalogDir); await plugin(config, { services: [{ path: join(openAPIExamples, 'petstore.yml'), id: 'swagger-petstore' }],