From 561e072a9c26b8384795f7088c15b615976710a4 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 2 Mar 2016 11:56:12 +0100 Subject: [PATCH] Adjusted generated unit tests --- CHANGELOG.md | 3 +++ generators/component/templates/tests/Base.js | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb2f1c..76ba555 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # generator-react-webpack - Changelog +## 3.2.4 +1. Added whitespaces to generated unit tests (made problems when using it with various eslint rules) + ## 3.2.3 1. Adjusted postcss to work with react-webpack-template 1.4 upwards diff --git a/generators/component/templates/tests/Base.js b/generators/component/templates/tests/Base.js index 10b2635..3337a6c 100644 --- a/generators/component/templates/tests/Base.js +++ b/generators/component/templates/tests/Base.js @@ -1,6 +1,6 @@ -/*eslint-env node, mocha */ -/*global expect */ -/*eslint no-console: 0*/ +/* eslint-env node, mocha */ +/* global expect */ +/* eslint no-console: 0 */ 'use strict'; // Uncomment the following lines to use the react test utilities