Skip to content

Commit

Permalink
fix: make TS linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
EmrysMyrddin committed Feb 6, 2025
1 parent 5fd15b8 commit e1b5a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-yoga/__tests__/plugin-hooks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test('onParams -> setResult to event stream execution result', async () => {
});

test('onParams -> replaces the params handler correctly', async () => {
const paramsHandler = jest.fn((_payload: ParamsHandlerPayload<{}>) => ({
const paramsHandler = jest.fn((_payload: ParamsHandlerPayload<object>) => ({
data: { hello: 'world' },
}));
const plugin: Plugin = {
Expand Down

0 comments on commit e1b5a4a

Please sign in to comment.