Added new version of react-webpack-template as dependency. Now using React 0.14 as base.

This commit is contained in:
Chris
2015-10-12 08:28:43 +02:00
parent 57a2ac9325
commit ca3f923bf0
5 changed files with 14 additions and 11 deletions
+2 -3
View File
@@ -4,8 +4,7 @@
'use strict';
// Uncomment the following lines to use the react test utilities
// import React from 'react/addons';
// const TestUtils = React.addons.TestUtils;
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';
import <%= component.className %> from '<%= component.webpackPath %>';
@@ -18,6 +17,6 @@ describe('<%= component.className %>', () => {
});
it('should have its component name as default className', () => {
expect(component._store.props.className).to.equal('<%= style.className %>');
expect(component.props.className).to.equal('<%= style.className %>');
});
});