Skip to content

Commit 78bed77

Browse files
committed
Add changeset
1 parent 86c6e0c commit 78bed77

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.changeset/lemon-fireants-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/client": patch
3+
---
4+
5+
Prevent the `setTimeout` in `connectToDevtools` that shows the devtools suggestion from firing when the user agent does not match Chrome or Firefox. This check was previously done inside the `setTimeout` which meant the timer was scheduled for environments where we'd never show the message anyways. For test environments, this could cause flaky tests when that `setTimeout` outlived the tests and ran after any virtual DOM was torn down and removed.

0 commit comments

Comments
 (0)