From 8ff7ce13f520f881b65724239ce11fdc467a3372 Mon Sep 17 00:00:00 2001 From: mayakoneval Date: Tue, 2 May 2023 11:21:37 -0700 Subject: [PATCH 1/4] Update getEmbeddedExplorerHTML.test.ts --- .../plugin/landingPage/getEmbeddedExplorerHTML.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts index a2d970d7765..bcba9e2f99f 100644 --- a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts +++ b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts @@ -204,7 +204,7 @@ describe('Embedded Explorer Landing Page Config HTML', () => { }, graphRef: 'graph@current', }; - expect(getEmbeddedExplorerHTML(cdnVersion, config, apolloServerVersion)) + expect(getEmbeddedExplorerHTML(cdnVersion, config, apolloServerVersion, 'nonce')) .toMatchInlineSnapshot(`

From 7927a3f465258a887275d487ed00e2ccf5168da6 Mon Sep 17 00:00:00 2001 From: mayakoneval Date: Tue, 2 May 2023 11:23:38 -0700 Subject: [PATCH 2/4] Update packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts --- .../plugin/landingPage/getEmbeddedExplorerHTML.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts index bcba9e2f99f..cb15e886979 100644 --- a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts +++ b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts @@ -204,8 +204,9 @@ describe('Embedded Explorer Landing Page Config HTML', () => { }, graphRef: 'graph@current', }; - expect(getEmbeddedExplorerHTML(cdnVersion, config, apolloServerVersion, 'nonce')) - .toMatchInlineSnapshot(` + expect( + getEmbeddedExplorerHTML(cdnVersion, config, apolloServerVersion, 'nonce'), + ).toMatchInlineSnapshot(`

Welcome to Apollo Server From 3f7eaed8dd0c8f49b0ff9b6712242ace89b9ae03 Mon Sep 17 00:00:00 2001 From: Maya Koneval Date: Tue, 2 May 2023 11:29:08 -0700 Subject: [PATCH 3/4] update tests --- .../plugin/landingPage/getEmbeddedExplorerHTML.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts index cb15e886979..f07d768df0a 100644 --- a/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts +++ b/packages/server/src/__tests__/plugin/landingPage/getEmbeddedExplorerHTML.test.ts @@ -224,9 +224,11 @@ describe('Embedded Explorer Landing Page Config HTML', () => { id="embeddableExplorer" >

- -