Skip to content

Commit

Permalink
fix(ci): test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary authored and renovate[bot] committed Apr 22, 2024
1 parent 4f319e0 commit bb073d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "bob-ts -i src -f interop",
"prepare": "pnpm build",
"start": "nodemon --exec \"concurrently pnpm:build tsc\" -w src/index.ts",
"test": "jest --config local.jest.config.js"
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config local.jest.config.js"
},
"dependencies": {
"@graphql-ez/fastify": "^0.12.1",
Expand Down
13 changes: 7 additions & 6 deletions internal/test-utils/test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fs from 'fs';
import * as fs from 'fs';
import { resolve } from 'path';

import { assertIsDefined, createTestApp, gql, waitForExpect } from '../src';
Expand Down Expand Up @@ -97,7 +97,7 @@ test('create test app with codegen', async () => {
TKey extends string,
TParent,
TContext,
TArgs
TArgs,
> {
subscribe: SubscriptionSubscribeFn<
{ [key in TKey]: TResult },
Expand All @@ -123,7 +123,7 @@ test('create test app with codegen', async () => {
TKey extends string,
TParent,
TContext,
TArgs
TArgs,
> =
| SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs>
| SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
Expand All @@ -133,7 +133,7 @@ test('create test app with codegen', async () => {
TKey extends string,
TParent = {},
TContext = {},
TArgs = {}
TArgs = {},
> =
| ((
...args: any[]
Expand All @@ -158,7 +158,7 @@ test('create test app with codegen', async () => {
TResult = {},
TParent = {},
TContext = {},
TArgs = {}
TArgs = {},
> = (
next: NextResolverFn<TResult>,
parent: TParent,
Expand All @@ -183,7 +183,8 @@ test('create test app with codegen', async () => {
export type QueryResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']
ParentType extends
ResolversParentTypes['Query'] = ResolversParentTypes['Query'],
> = {
hello?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
};
Expand Down

0 comments on commit bb073d4

Please sign in to comment.