Skip to content

Commit

Permalink
chore: update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Aug 29, 2024
1 parent d7814b6 commit 4bdd4e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .changeset/strange-socks-admire.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
"@apollo/graphql-testing-library": patch
---

Adds `createHandlerFromSchema`
Adds helper utilities `createDefaultResolvers`, `createPossibleTypesMap`, `generateEnumMocksFromSchema` and `mockCustomScalars` for those who want to manually create and configure their mock schema.

Also renames `createHandler` to `createHandlerFromSchema`; `createHandler` now provides an API that will create the mock schema under the hood with default resolvers as well as enum and custom scalar mocks.

1 comment on commit 4bdd4e6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 99%
98.48% (130/132) 90% (36/40) 93.75% (30/32)
Tests Skipped Failures Errors Time
6 0 💤 0 ❌ 0 🔥 3.285s ⏱️
Coverage Report (99%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files98.489093.7599.22 
   handlers.ts10093.7510010089
   utilities.ts95.9187.585.7197.91120

Please sign in to comment.