From 4a875d31518cd0c24aeb22b5e05b9e58d16cfbf6 Mon Sep 17 00:00:00 2001 From: Artem Zakharchenko Date: Wed, 8 May 2024 16:52:19 +0200 Subject: [PATCH] test: elaborate on graphql handlers in tests --- test/typings/graphql.test-d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/typings/graphql.test-d.ts b/test/typings/graphql.test-d.ts index 672abf9b..744f306f 100644 --- a/test/typings/graphql.test-d.ts +++ b/test/typings/graphql.test-d.ts @@ -142,6 +142,8 @@ it('graphql handlers allow passthrough responses', () => { }) it('graphql handlers allow error response', () => { + graphql.query('GetUser', () => HttpResponse.error()) + graphql.mutation('UpdatePost', () => HttpResponse.error()) graphql.operation(() => HttpResponse.error()) })