Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 74fcaf8

Browse files
committed
Fixing tests
1 parent 66e8ef8 commit 74fcaf8

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

test/control-component-spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import ReactDOM from 'react-dom';
55
import TestUtils from 'react-addons-test-utils';
66
import { Provider } from 'react-redux';
77
import sinon from 'sinon';
8-
import capitalize from 'lodash/capitalize';
9-
import _get from 'lodash/get';
10-
import toPath from 'lodash/toPath';
8+
import capitalize from '../src/utils/capitalize';
9+
import _get from 'lodash.get';
10+
import toPath from 'lodash.topath';
1111
import i from 'icepick';
1212
import Immutable from 'immutable';
1313

test/field-actions-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { assert } from 'chai';
22
import configureMockStore from 'redux-mock-store';
33
import createTestStore from 'redux-test-store';
44
import thunk from 'redux-thunk';
5-
import _get from 'lodash/get';
6-
import toPath from 'lodash/toPath';
5+
import _get from 'lodash.get';
6+
import toPath from 'lodash.topath';
77
import i from 'icepick';
88
import Immutable from 'immutable';
99

test/field-component-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { Provider, connect } from 'react-redux';
77
import TestUtils from 'react-addons-test-utils';
88
import capitalize from 'lodash/capitalize';
99
import mapValues from 'lodash/mapValues';
10-
import _get from 'lodash/get';
11-
import toPath from 'lodash/toPath';
10+
import _get from 'lodash.get';
11+
import toPath from 'lodash.topath';
1212
import sinon from 'sinon';
1313
import createTestStore from 'redux-test-store';
1414
import { testCreateStore, testRender } from './utils';

test/form-reducer-actions-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
form as selectForm,
77
formReducer,
88
} from '../src';
9-
import mapValues from 'lodash/mapValues';
10-
import toPath from 'lodash/toPath';
9+
import mapValues from '../src/utils/map-values';
10+
import toPath from 'lodash.topath';
1111
import get from '../src/utils/get';
1212

1313
describe('formReducer() (V1)', () => {

test/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { Provider } from 'react-redux';
77
import thunk from 'redux-thunk';
88
import sinon from 'sinon';
99

10-
import _get from 'lodash/get';
11-
import toPath from 'lodash/toPath';
10+
import _get from 'lodash.get';
11+
import toPath from 'lodash.topath';
1212
import i from 'icepick';
1313
import Immutable from 'immutable';
1414

0 commit comments

Comments
 (0)