Skip to content

Commit

Permalink
Import from src/react/ssr directory in tests to verify package.json w…
Browse files Browse the repository at this point in the history
…orks.
  • Loading branch information
benjamn committed Jun 30, 2020
1 parent 0119556 commit 65851ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/react/ssr/__tests__/useLazyQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React from 'react';
import { DocumentNode } from 'graphql';
import gql from 'graphql-tag';
import { mockSingleLink } from '../../../utilities/testing/mocking/mockLink';
import { renderToStringWithData } from '../renderToStringWithData';
import { ApolloClient } from '../../../ApolloClient';
import { InMemoryCache } from '../../../cache/inmemory/inMemoryCache';
import { ApolloProvider } from '../../context/ApolloProvider';
import { useLazyQuery } from '../../hooks/useLazyQuery';
import { renderToStringWithData } from '..';

describe('useLazyQuery Hook SSR', () => {
const CAR_QUERY: DocumentNode = gql`
Expand Down
2 changes: 1 addition & 1 deletion src/react/ssr/__tests__/useQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { ApolloClient } from '../../../ApolloClient';
import { InMemoryCache } from '../../../cache/inmemory/inMemoryCache';
import { ApolloProvider } from '../../context/ApolloProvider';
import { useQuery } from '../../hooks/useQuery';
import { renderToStringWithData } from '../renderToStringWithData';
import { render, wait } from '@testing-library/react';
import { renderToStringWithData } from '..';

describe('useQuery Hook SSR', () => {
const CAR_QUERY: DocumentNode = gql`
Expand Down

0 comments on commit 65851ef

Please sign in to comment.