Skip to content

Commit a734104

Browse files
committed
tests: add comment for why we added a typecast
1 parent f31d511 commit a734104

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.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)