Skip to content

Commit bfd5ed9

Browse files
kylebuildsstuffKyle Truong
authored andcommitted
- Fix linter issues
1 parent f080ebe commit bfd5ed9

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

test/Compiler.test.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ describe("Compiler", () => {
204204
const response2 = compiler.isChild();
205205
response2.should.be.exactly(true);
206206

207-
compiler.parentCompilation = { what: "I belong to an object" };
207+
compiler.parentCompilation = {
208+
what: "I belong to an object"
209+
};
208210
const response3 = compiler.isChild();
209211
response3.should.be.exactly(true);
210212

@@ -250,7 +252,9 @@ describe("Compiler", () => {
250252
describe("constructor", () => {
251253
it("constructs Watching.watchOptions correctly when passed a number, string, or object for watchOptions", (done) => {
252254
const Watching1 = compiler.watch(1000, err => err);
253-
const Watching2 = compiler.watch({ aggregateTimeout: 1000 }, err => err);
255+
const Watching2 = compiler.watch({
256+
aggregateTimeout: 1000
257+
}, err => err);
254258
const Watching3 = compiler.watch("I am a string", err => err);
255259
Watching1.watchOptions.aggregateTimeout.should.equal(Watching2.watchOptions.aggregateTimeout);
256260
Watching3.watchOptions.aggregateTimeout.should.equal(200);
@@ -278,7 +282,9 @@ describe("Compiler", () => {
278282
it("pauses this.watcher and sets this.watcher to null if this.watcher is true", (done) => {
279283
const mockPause = sinon.spy();
280284
const Watching1 = compiler.watch(1000, err => err);
281-
Watching1.watcher = { pause: mockPause };
285+
Watching1.watcher = {
286+
pause: mockPause
287+
};
282288
Watching1.invalidate();
283289
mockPause.callCount.should.be.exactly(1);
284290
should(Watching1.watcher).be.exactly(null);

0 commit comments

Comments
 (0)