File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
generators/component/templates/tests Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11# generator-react-webpack - Changelog
22
3+ ## 3.2.2
4+
5+ 1 . Cleaned up formatting of unit tests
6+
37## 3.2.1
48
591 . Updated tests for new version of react-webpack-template
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ import createComponent from 'helpers/shallowRenderHelper';
1010import < %= component . className % > from '<%= component.webpackPath %>' ;
1111
1212describe ( '<%= component.className %>' , ( ) => {
13- let component ;
13+ let component ;
1414
15- beforeEach ( ( ) => {
16- component = createComponent ( < %= component . className % > );
17- } ) ;
15+ beforeEach ( ( ) => {
16+ component = createComponent ( < %= component . className % > );
17+ } ) ;
1818
19- it ( 'should have its component name as default className' , ( ) => {
20- expect ( component . props . className ) . to . equal ( '<%= style.className %>' ) ;
21- } ) ;
19+ it ( 'should have its component name as default className' , ( ) => {
20+ expect ( component . props . className ) . to . equal ( '<%= style.className %>' ) ;
21+ } ) ;
2222} ) ;
You can’t perform that action at this time.
0 commit comments