mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-30 11:23:47 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
782a38b685 | ||
|
|
946775a22f |
@@ -1,5 +1,9 @@
|
||||
# generator-react-webpack - Changelog
|
||||
|
||||
## 3.2.2
|
||||
|
||||
1. Cleaned up formatting of unit tests
|
||||
|
||||
## 3.2.1
|
||||
|
||||
1. Updated tests for new version of react-webpack-template
|
||||
|
||||
@@ -10,13 +10,13 @@ import createComponent from 'helpers/shallowRenderHelper';
|
||||
import <%= component.className %> from '<%= component.webpackPath %>';
|
||||
|
||||
describe('<%= component.className %>', () => {
|
||||
let component;
|
||||
let component;
|
||||
|
||||
beforeEach(() => {
|
||||
component = createComponent(<%= component.className %>);
|
||||
});
|
||||
beforeEach(() => {
|
||||
component = createComponent(<%= component.className %>);
|
||||
});
|
||||
|
||||
it('should have its component name as default className', () => {
|
||||
expect(component.props.className).to.equal('<%= style.className %>');
|
||||
});
|
||||
it('should have its component name as default className', () => {
|
||||
expect(component.props.className).to.equal('<%= style.className %>');
|
||||
});
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "generator-react-webpack",
|
||||
"version": "3.2.1",
|
||||
"version": "3.2.2",
|
||||
"description": "Yeoman generator for using React with Webpack via Babel",
|
||||
"keywords": [
|
||||
"yeoman-generator",
|
||||
|
||||
Reference in New Issue
Block a user