Jelajahi Sumber

docs(testing): Fix docs for SimpleGraphQLClient

Michael Bromley 1 tahun lalu
induk
melakukan
fb80ee3b66
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      packages/testing/src/simple-graphql-client.ts

+ 2 - 0
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;