Use new React Shallow renderer with hooks support

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-09-13 10:32:13 +01:00 committed by Bruno Windels
parent f2d73793ee
commit aae5bb9f39
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import expect from 'expect';
import React from 'react';
import ReactTestUtils from 'react-dom/test-utils';
import ShallowRenderer from "react-test-renderer/shallow";
import sdk from 'matrix-react-sdk';
import * as languageHandler from '../../../../src/languageHandler';
import * as testUtils from '../../../test-utils';