Compare commits

...
2 Commits
Author SHA1 Message Date
Chris 782a38b685 3.2.2 2016-01-13 07:57:00 +01:00
Chris 946775a22f Fix: Set correct indention for generated unit tests 2016-01-13 07:56:49 +01:00
3 changed files with 12 additions and 8 deletions
+4
View File
@@ -1,5 +1,9 @@
# generator-react-webpack - Changelog # generator-react-webpack - Changelog
## 3.2.2
1. Cleaned up formatting of unit tests
## 3.2.1 ## 3.2.1
1. Updated tests for new version of react-webpack-template 1. Updated tests for new version of react-webpack-template
+7 -7
View File
@@ -10,13 +10,13 @@ import createComponent from 'helpers/shallowRenderHelper';
import <%= component.className %> from '<%= component.webpackPath %>'; import <%= component.className %> from '<%= component.webpackPath %>';
describe('<%= component.className %>', () => { describe('<%= component.className %>', () => {
let component; let component;
beforeEach(() => { beforeEach(() => {
component = createComponent(<%= component.className %>); component = createComponent(<%= component.className %>);
}); });
it('should have its component name as default className', () => { it('should have its component name as default className', () => {
expect(component.props.className).to.equal('<%= style.className %>'); expect(component.props.className).to.equal('<%= style.className %>');
}); });
}); });
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "generator-react-webpack", "name": "generator-react-webpack",
"version": "3.2.1", "version": "3.2.2",
"description": "Yeoman generator for using React with Webpack via Babel", "description": "Yeoman generator for using React with Webpack via Babel",
"keywords": [ "keywords": [
"yeoman-generator", "yeoman-generator",