Don't include src in the test resolve root
Don't include src in resolve root for the karma test, as otherwise modules from react sdk get pulled in instead of npm libraries like 'extend' which breaks everything in really subtle ways.
This commit is contained in:
parent
46bb29a3af
commit
ba8e37a84e
4 changed files with 3 additions and 4 deletions
|
@ -22,7 +22,7 @@ import ReactTestUtils from 'react-addons-test-utils';
|
|||
import sinon from 'sinon';
|
||||
|
||||
import sdk from 'matrix-react-sdk';
|
||||
import MatrixClientPeg from 'MatrixClientPeg';
|
||||
import MatrixClientPeg from '../../../../src/MatrixClientPeg';
|
||||
|
||||
import * as test_utils from '../../../test-utils';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue