From 812bc7cca6b5b23729353c645c5e37724ce76f79 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 14 Nov 2022 13:45:06 -0500 Subject: [PATCH] Update loadAndBundleSpec.test.ts --- src/utils/__tests__/loadAndBundleSpec.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/__tests__/loadAndBundleSpec.test.ts b/src/utils/__tests__/loadAndBundleSpec.test.ts index 4abb3a6c..15612c71 100644 --- a/src/utils/__tests__/loadAndBundleSpec.test.ts +++ b/src/utils/__tests__/loadAndBundleSpec.test.ts @@ -7,7 +7,7 @@ describe('#loadAndBundleSpec', () => { it('should load And Bundle Spec demo/openapi.yaml', async () => { const spec = yaml.load(readFileSync(resolve(__dirname, '../../../demo/openapi.yaml'), 'utf-8')); const bundledSpec = await loadAndBundleSpec(spec); - expect(bundledSpec).toMatchSnapshot(); + expect(bundledSpec).toMatchInlineSnapshot(); }); it('should load And Bundle Spec demo/openapi-3-1.yaml', async () => {