Skip to content

Commit 0a6daa7

Browse files
committed
clearer
1 parent 5ef3bea commit 0a6daa7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/integration/index.spec.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ describe('[INTEGRATION] index', function () {
1010
this.timeout(30000);
1111
var plugin;
1212

13-
function createCompiler(options, happypackMode) {
13+
function createCompiler(options, happyPackMode) {
1414
plugin = new ForkTsCheckerWebpackPlugin(Object.assign({}, options, { silent: true }));
1515

16-
var tsLoaderOptions = Object.assign({},
17-
happypackMode
18-
? { happyPackMode: true }
19-
: { transpileOnly: true },
20-
{ silent: true });
16+
var tsLoaderOptions = happyPackMode
17+
? { happyPackMode: true, silent: true }
18+
: { transpileOnly: true, silent: true };
2119

2220
return webpack({
2321
context: path.resolve(__dirname, './project'),

0 commit comments

Comments
 (0)