You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/apollo/src/components/SidePanel/__mocks__/SidePanel.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
/**
20
20
* this file is used to return a mock implementation of the SidePanel component
21
21
* elsewhere we use inline jest mocks to mock unwanted child components, but this wasn't possible with SidePanel due to its use of refs
22
-
* it's not possible to pass refs to functional componenets without using React.forwardRef, but jest doesn't allow inline references to external modules
22
+
* it's not possible to pass refs to functional components without using React.forwardRef, but jest doesn't allow inline references to external modules
23
23
* instead we create an actual React component in a separate mock file and replace SidePanel in the test files
0 commit comments