Skip to content

Commit 7b26a79

Browse files
committed
test fix
1 parent f33574e commit 7b26a79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/index.integration.test.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ describe('index.jsx integration', () => {
5959
// spy on this function and wait for it to be called before making assertions
6060
const spy = jest.spyOn(Actions, 'getUser');
6161

62+
window.process.env.PREVIEW_URL = 'http://localhost:8002';
6263
beforeEach(async () => {
6364
act(() => {
6465
subject();

client/modules/IDE/components/Editor/Editor.unit.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Editor from '.';
66
import { reduxRender } from '../../../../test-utils';
77
import { initialTestState } from '../../../../testData/testReduxStore';
88

9-
jest.mock('../../../i18n');
9+
jest.mock('../../../../i18n');
1010

1111
describe('<Editor />', () => {
1212
const mockStore = configureStore([thunk]);

0 commit comments

Comments
 (0)