Added compatibility for react 0.14

This commit is contained in:
Chris
2015-10-12 07:57:40 +02:00
parent 5d46050bbb
commit 4e4993e5b5
6 changed files with 18 additions and 6 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
* @see http://simonsmith.io/unit-testing-react-components-without-a-dom/
* @author somonsmith
*/
import React from 'react/addons';
const TestUtils = React.addons.TestUtils;
import React from 'react';
import TestUtils from 'react-addons-test-utils';
/**
* Get the shallow rendered component