diff --git a/packages/apollo-server-azure-functions/src/__tests__/azureFunctionApollo.test.ts b/packages/apollo-server-azure-functions/src/__tests__/azureFunctionApollo.test.ts index e045e19f28f..57964eb4253 100644 --- a/packages/apollo-server-azure-functions/src/__tests__/azureFunctionApollo.test.ts +++ b/packages/apollo-server-azure-functions/src/__tests__/azureFunctionApollo.test.ts @@ -224,9 +224,9 @@ describe('integration:AzureFunctions', () => { const handler = server.createHandler({ onHealthCheck: async () => { return new Promise((resolve) => { - return resolve("Success!"); + return resolve('Success!'); }); - } + }, }); const context: any = {}; @@ -252,9 +252,9 @@ describe('integration:AzureFunctions', () => { const handler = server.createHandler({ onHealthCheck: async () => { return new Promise(() => { - throw new Error("Failed to connect!"); + throw new Error('Failed to connect!'); }); - } + }, }); const context = { @@ -262,7 +262,9 @@ describe('integration:AzureFunctions', () => { if (error) throw error; expect(result.statusCode).toEqual(503); expect(result.body).toEqual(JSON.stringify({ status: 'fail' })); - expect(result.headers['Content-Type']).toEqual('application/health+json'); + expect(result.headers['Content-Type']).toEqual( + 'application/health+json', + ); }, };