Skip to content

Commit c2e3a5d

Browse files
authored
tests: add comment for why we added a typecast (#5)
1 parent f31d511 commit c2e3a5d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.changeset/huge-moons-flash.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

src/__tests__/integration.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ defineIntegrationTestSuite(async function (
1818
testOptions?: CreateServerForIntegrationTestsOptions,
1919
): Promise<CreateServerForIntegrationTestsResult> {
2020
const app = express();
21+
// See
22+
// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70563#issuecomment-2676702572
23+
// for why we have this `as`.
2124
const httpServer = http.createServer(app as RequestListener);
2225
const server = new ApolloServer({
2326
...serverOptions,

0 commit comments

Comments
 (0)