diff --git a/docs/en/next/testing-relay-components.html b/docs/en/next/testing-relay-components.html index ec1f369beaf66..ec5e6a43d723c 100644 --- a/docs/en/next/testing-relay-components.html +++ b/docs/en/next/testing-relay-components.html @@ -240,7 +240,7 @@

Fragment Container Tests

-

Essentially, in the example above will resolveMostRecentOperation will generate data for all child fragment containers (pagination, refetch). But, usually the Root Components container may have many child fragment components and you may want to exercise a specific Fragment Container. The solution for that would be to wrap you fragment container with the QueryRenderer that renders a Query that's spreads fragments from you fragment container.

+

Essentially, in the example above will resolveMostRecentOperation will generate data for all child fragment containers (pagination, refetch). But, usually the Root Components container may have many child fragment components and you may want to exercise a specific Fragment Container. The solution for that would be to wrap your fragment container with the QueryRenderer that renders a Query that's spreads fragments from your fragment container.

test('Fragment Container', () => {
   const environment = createMockEnvironment();
   const TestRenderer = () => (
@@ -475,7 +475,7 @@