Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.

Commit f177fcc

Browse files
committed
test: fix site mockings after folder structure change
1 parent 3e44df8 commit f177fcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/deprecated/Paragraph.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import site from '../../utils/site';
55
import waitForHnData from '../../utils/waitForHnData';
66
import { mapper, uuid } from '../../utils/tests';
77

8-
jest.mock('../../site', () => {
8+
jest.mock('../../utils/site', () => {
99
return require('../../utils/tests').mockSite();
1010
});
1111

src/components/deprecated/Paragraphs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import site from '../../utils/site';
55
import waitForHnData from '../../utils/waitForHnData';
66
import { mapper, uuid } from '../../utils/tests';
77

8-
jest.mock('../../site', () => {
8+
jest.mock('../../utils/site', () => {
99
return require('../../utils/tests').mockSite();
1010
});
1111

0 commit comments

Comments
 (0)