From 09333654a549421df27625fa9bab7634ebdff2fb Mon Sep 17 00:00:00 2001 From: Andrew Tatomyr Date: Thu, 15 Aug 2024 15:15:20 +0300 Subject: [PATCH] add changeset --- .../bar.yaml | 0 .../foo.yaml | 0 .../main.yaml | 0 .../redocly.yaml | 0 .../snapshot.js | 2 +- __tests__/commands.test.ts | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename __tests__/bundle/{dereferenced-discriminator-mapping => discriminator-mapping}/bar.yaml (100%) rename __tests__/bundle/{dereferenced-discriminator-mapping => discriminator-mapping}/foo.yaml (100%) rename __tests__/bundle/{dereferenced-discriminator-mapping => discriminator-mapping}/main.yaml (100%) rename __tests__/bundle/{dereferenced-discriminator-mapping => discriminator-mapping}/redocly.yaml (100%) rename __tests__/bundle/{dereferenced-discriminator-mapping => discriminator-mapping}/snapshot.js (97%) diff --git a/__tests__/bundle/dereferenced-discriminator-mapping/bar.yaml b/__tests__/bundle/discriminator-mapping/bar.yaml similarity index 100% rename from __tests__/bundle/dereferenced-discriminator-mapping/bar.yaml rename to __tests__/bundle/discriminator-mapping/bar.yaml diff --git a/__tests__/bundle/dereferenced-discriminator-mapping/foo.yaml b/__tests__/bundle/discriminator-mapping/foo.yaml similarity index 100% rename from __tests__/bundle/dereferenced-discriminator-mapping/foo.yaml rename to __tests__/bundle/discriminator-mapping/foo.yaml diff --git a/__tests__/bundle/dereferenced-discriminator-mapping/main.yaml b/__tests__/bundle/discriminator-mapping/main.yaml similarity index 100% rename from __tests__/bundle/dereferenced-discriminator-mapping/main.yaml rename to __tests__/bundle/discriminator-mapping/main.yaml diff --git a/__tests__/bundle/dereferenced-discriminator-mapping/redocly.yaml b/__tests__/bundle/discriminator-mapping/redocly.yaml similarity index 100% rename from __tests__/bundle/dereferenced-discriminator-mapping/redocly.yaml rename to __tests__/bundle/discriminator-mapping/redocly.yaml diff --git a/__tests__/bundle/dereferenced-discriminator-mapping/snapshot.js b/__tests__/bundle/discriminator-mapping/snapshot.js similarity index 97% rename from __tests__/bundle/dereferenced-discriminator-mapping/snapshot.js rename to __tests__/bundle/discriminator-mapping/snapshot.js index d2eab95a8..27519d914 100644 --- a/__tests__/bundle/dereferenced-discriminator-mapping/snapshot.js +++ b/__tests__/bundle/discriminator-mapping/snapshot.js @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`E2E bundle dereferenced-discriminator-mapping 1`] = ` +exports[`E2E bundle discriminator-mapping 1`] = ` openapi: 3.1.0 info: {} paths: diff --git a/__tests__/commands.test.ts b/__tests__/commands.test.ts index 8ee008d27..9bad1cbfb 100644 --- a/__tests__/commands.test.ts +++ b/__tests__/commands.test.ts @@ -525,7 +525,7 @@ describe('E2E', () => { }); it('discriminator mapping should be replaced with correct references to components', () => { - const folderPath = join(__dirname, `bundle/dereferenced-discriminator-mapping`); + const folderPath = join(__dirname, `bundle/discriminator-mapping`); const args = getParams('../../../packages/cli/src/index.ts', 'bundle', [ 'main.yaml', '--dereferenced',