Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Export `createRouter` by exporting the HTTP handler so we can use `fetch` function from it inside tests without starting a real server - Export `close` method in the return value of `serve` so we can use start and stop server - Avoid top-level await for better support in most envs - In case of `npm install` from another project, it runs `tsc` to generate js and declaration files to be used in our Hive GW test suite here; graphql-hive/gateway#120 --------- Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
- Loading branch information