Skip to content

Commit 8ccf068

Browse files
committed
fix linting issues of touched files
1 parent 6a7a7d5 commit 8ccf068

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

test/Compiler-caching.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* globals describe, it, before, after */
12
"use strict";
23

34
const should = require("should");

test/Compiler.test.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
/* globals describe, it */
12
var should = require("should");
23
var path = require("path");
34

4-
var NodeEnvironmentPlugin = require("../lib/node/NodeEnvironmentPlugin");
55
var webpack = require("../");
6-
var WebpackOptionsApply = require("../lib/WebpackOptionsApply");
76
var WebpackOptionsDefaulter = require("../lib/WebpackOptionsDefaulter");
87

98
describe("Compiler", function() {
@@ -60,13 +59,13 @@ describe("Compiler", function() {
6059

6160
compile("./c", {
6261
output: {
63-
path: '/what',
64-
filename: 'the' + sep + 'hell.js',
62+
path: "/what",
63+
filename: "the" + sep + "hell.js",
6564
}
6665
}, function(stats, files) {
6766
stats.logs.mkdirp.should.eql([
68-
'/what',
69-
'/what' + sep + 'the',
67+
"/what",
68+
"/what" + sep + "the",
7069
]);
7170
done();
7271
});

test/Validation.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
/* globals describe, it */
12
"use strict";
23

3-
const should = require("should");
4+
require("should");
45
const webpack = require("../lib/webpack");
56
const WebpackOptionsValidationError = require("../lib/WebpackOptionsValidationError");
67

@@ -187,6 +188,6 @@ describe("Validation", function() {
187188
return;
188189
}
189190
throw new Error("Validation didn't fail");
190-
})
191+
});
191192
});
192193
});

0 commit comments

Comments
 (0)