Skip to content

Commit

Permalink
chore: update doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Apr 12, 2024
1 parent 8199455 commit 409a192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testing/core/createTestSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface TestSchemaOptions {
* resolvers to the original proxied schema.
*
* @param schema - A `GraphQLSchema`.
* @param options - An `options` object that accepts `mocks` and `resolvers` objects.
* @param options - An `options` object that accepts `scalars` and `resolvers` objects.
* @returns A `ProxiedSchema` with `add`, `fork` and `reset` methods.
*
* @example
Expand All @@ -40,7 +40,7 @@ interface TestSchemaOptions {
}),
}
},
mocks: {
scalars: {
ID: () => "1",
Int: () => 36,
String: () => "String",
Expand Down

0 comments on commit 409a192

Please sign in to comment.