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

Commit

Permalink
Merge pull request #662 from Skyscanner/no-jira-update-deps
Browse files Browse the repository at this point in the history
[No Jira] Update some dependencies
  • Loading branch information
shaundon committed Sep 4, 2020
2 parents d7d4d86 + d9dedca commit 10e6181
Show file tree
Hide file tree
Showing 4 changed files with 2,116 additions and 125 deletions.
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'),
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'),
sendPageView: jest.fn(),
}));

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

const RouteComponent = () => null;

Expand Down

0 comments on commit 10e6181

Please sign in to comment.