Fix: Set correct indention for generated unit tests

This commit is contained in:
Chris
2016-01-13 07:56:49 +01:00
parent 165b4ae956
commit 946775a22f
2 changed files with 11 additions and 7 deletions
+7 -7
View File
@@ -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 %>');
});
});