This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The following file is an amalgamation of [Apollo Server Testing](https://github.com/apollographql/apollo-server/blob/main/packages/apollo-server-testing/src/createTestClient.ts) | |
| * and [apollo-server-integration-testing](https://github.com/zapier/apollo-server-integration-testing), | |
| * this allows the use of `headers` while making a request | |
| * | |
| * Credits to the original authors | |
| */ | |
| import express from 'express'; | |
| import { convertNodeHttpToRequest, runHttpQuery } from 'apollo-server-core'; |