From d8bd8ac3f9b24040b203ef064ac07fdf52c277ab Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Thu, 4 Jan 2024 10:58:10 +0400 Subject: [PATCH] chore: fix schema tests --- tests/schema/lib.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/schema/lib.ts b/tests/schema/lib.ts index 3c97f9fde..0c702f503 100644 --- a/tests/schema/lib.ts +++ b/tests/schema/lib.ts @@ -4,6 +4,7 @@ export const fetch = (query: string): Promise => got .post('http://127.0.0.1:8888/graphql', { headers: { + 'Content-Type': 'application/json', 'api-key': 'cfdb0555111c0f8924cecab028b53474', // Pass the same headers as @amazeelabs/gatsby-source-silverback does. // See getForwardedHeaders function in the mentioned package.