Skip to content

Commit 07da265

Browse files
committed
use explicit type
1 parent feb7dee commit 07da265

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration.context.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ import { nanoid } from 'nanoid';
1313
import prisma from 'src/database/connection';
1414
import { server } from 'src/pages/api/v1/graphql';
1515

16+
import type { ApolloServer } from 'apollo-server-micro';
17+
1618
const prismaBinary = join(__dirname, '..', 'node_modules', '.bin', 'prisma');
1719

1820
interface TestContext {
1921
db: PrismaClient;
20-
gqlServer: typeof server;
22+
gqlServer: ApolloServer;
2123
}
2224

2325
function graphQLTestContext() {

0 commit comments

Comments
 (0)