Skip to content

Commit 81fe95d

Browse files
committed
chore: remove double cleanupOutput
1 parent ecbaf4e commit 81fe95d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/bundle/bundle.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ describe('bundle with ref siblings', () => {
206206
const testPath = join(__dirname, `ref-siblings`);
207207
const args = getParams(indexEntryPoint, ['bundle', 'openapi.yaml']);
208208

209-
const result = cleanupOutput(getCommandOutput(args, { testPath }));
209+
const result = getCommandOutput(args, { testPath });
210210
await expect(cleanupOutput(result)).toMatchFileSnapshot(join(testPath, 'snapshot.txt'));
211211
});
212212

213213
it('should resolve schema ref siblings in dereferenced output', async () => {
214214
const testPath = join(__dirname, `ref-siblings`);
215215
const args = getParams(indexEntryPoint, ['bundle', 'openapi.yaml', '--dereferenced']);
216216

217-
const result = cleanupOutput(getCommandOutput(args, { testPath }));
217+
const result = getCommandOutput(args, { testPath });
218218
await expect(cleanupOutput(result)).toMatchFileSnapshot(join(testPath, 'snapshot_2.txt'));
219219
});
220220
});

0 commit comments

Comments
 (0)