Skip to content

Commit 00b02d8

Browse files
committed
Rename files, edit testing.md
1 parent 0ed1c16 commit 00b02d8

File tree

9 files changed

+68
-56
lines changed

9 files changed

+68
-56
lines changed

client/index.integration.test.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import {
44
act,
55
fireEvent,
66
prettyDOM,
7-
render,
87
screen,
98
within
109
} from '@testing-library/react';
11-
import userResponse from './redux_test_stores/test_server_responses';
10+
import userResponse from './testData/testServerResponses';
1211

1312
// need to mock this file or it'll throw ERRCONNECTED
1413
jest.mock('./i18n');

client/modules/App/App.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
within,
1313
prettyDOM
1414
} from '../../test-utils';
15-
import { initialTestState } from '../../redux_test_stores/test_store';
15+
import { initialTestState } from '../../testData/testReduxStore';
1616

1717
jest.mock('../../i18n');
1818

client/modules/IDE/actions/__mocks__/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as ActionTypes from '../../../../constants';
22
import { startLoader, stopLoader } from '../loader';
3-
import { mockProjects } from '../../../../redux_test_stores/test_store';
3+
import { mockProjects } from '../../../../testData/testReduxStore';
44

55
// eslint-disable-next-line
66
export function getProjects(username) {

client/modules/IDE/actions/__tests__/projects.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as ActionTypes from '../../../../constants';
88
import {
99
initialTestState,
1010
mockProjects
11-
} from '../../../../redux_test_stores/test_store';
11+
} from '../../../../testData/testReduxStore';
1212

1313
const mockStore = configureStore([thunk]);
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
within,
1212
prettyDOM
1313
} from '../../../test-utils';
14-
import { initialTestState } from '../../../redux_test_stores/test_store';
14+
import { initialTestState } from '../../../testData/testReduxStore';
1515

1616
jest.mock('../../../i18n');
1717

client/modules/IDE/components/SketchList.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { rest } from 'msw';
66
import { act } from 'react-dom/test-utils';
77
import SketchList from './SketchList';
88
import { reduxRender, fireEvent, screen, within } from '../../../test-utils';
9-
import { initialTestState } from '../../../redux_test_stores/test_store';
9+
import { initialTestState } from '../../../testData/testReduxStore';
1010

1111
jest.mock('../../../i18n');
1212

developer_docs/testing.md

Lines changed: 62 additions & 49 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)