Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

[No Jira] Update some dependencies #662

Merged
merged 3 commits into from Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/components/Analytics/AnalyticsContainer.test.js
Expand Up @@ -23,7 +23,7 @@ import ReactDOM from 'react-dom';
import AnalyticsContanier from './AnalyticsContainer';

jest.mock('../../helpers/google-analytics-helper', () => ({
...require.requireActual('../../helpers/google-analytics-helper'),
...jest.requireActual('../../helpers/google-analytics-helper'),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

startGoogleAnalytics: jest.fn(),
}));

Expand Down
4 changes: 2 additions & 2 deletions docs/src/routes/withPageViewEven.test.js
Expand Up @@ -21,11 +21,11 @@ import renderer from 'react-test-renderer';
import withPageViewEvent from './withPageViewEvent';

jest.mock('../helpers/google-analytics-helper', () => ({
...require.requireActual('../helpers/google-analytics-helper'),
...jest.requireActual('../helpers/google-analytics-helper'),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sendPageView: jest.fn(),
}));

const ga = require.requireMock('../helpers/google-analytics-helper');
const ga = jest.requireMock('../helpers/google-analytics-helper');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


const RouteComponent = () => null;

Expand Down