Skip to content

Commit

Permalink
Disable dev-tool check when using ApolloTestingModule
Browse files Browse the repository at this point in the history
  • Loading branch information
vz-tl authored and PowerKiKi committed Sep 19, 2023
1 parent b060c0e commit f014edc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-falcons-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'apollo-angular': patch
---

Disable dev-tool check when using ApolloTestingModule
1 change: 1 addition & 0 deletions packages/apollo-angular/testing/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class ApolloTestingModuleCore {
) {
function createOptions(name: string, c?: ApolloCache<any> | null) {
return {
connectToDevTools: false,
link: new ApolloLink(operation => backend.handle(addClient(name, operation))),
cache:
c ||
Expand Down

0 comments on commit f014edc

Please sign in to comment.