From fb80ee3b66fe20fa0ecede704707018dcb99d4a5 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 25 Nov 2024 18:00:59 +0100 Subject: [PATCH] docs(testing): Fix docs for SimpleGraphQLClient --- packages/testing/src/simple-graphql-client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/testing/src/simple-graphql-client.ts b/packages/testing/src/simple-graphql-client.ts index cb8010b85e..66d236dfc9 100644 --- a/packages/testing/src/simple-graphql-client.ts +++ b/packages/testing/src/simple-graphql-client.ts @@ -224,6 +224,7 @@ export class SimpleGraphQLClient { * mutation, with `null` as the value for each `Upload` field. * * @example + * ```ts * // Testing a custom mutation: * const result = await client.fileUploadMutation({ * mutation: gql` @@ -243,6 +244,7 @@ export class SimpleGraphQLClient { * } * }) * }); + * ``` */ async fileUploadMutation(options: { mutation: DocumentNode;