Skip to content

Commit

Permalink
docs(testing): Fix docs for SimpleGraphQLClient
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Nov 25, 2024
1 parent 84710d5 commit fb80ee3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/testing/src/simple-graphql-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -243,6 +244,7 @@ export class SimpleGraphQLClient {
* }
* })
* });
* ```
*/
async fileUploadMutation(options: {
mutation: DocumentNode;
Expand Down

0 comments on commit fb80ee3

Please sign in to comment.