Skip to content

Commit 4266ab8

Browse files
Kyle TruongKyle Truong
authored andcommitted
- Fix compiler test as discussed in PR
1 parent 13bc80b commit 4266ab8

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/Compiler.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,14 @@ describe("Compiler", () => {
298298
}
299299
});
300300
});
301-
// describe("static method", () => {
302-
// it("should have an accessible static method, Watching", (done) => {
303-
// const actual = Compiler.Watching(compiler, 1000, err => err);
304-
// actual.running.should.be.exactly(true);
305-
// actual.constructor.name.should.be.exactly("Watching");
306-
// done();
307-
// });
308-
// });
301+
describe("static method", () => {
302+
it("should have an method, Watching", (done) => {
303+
const actual = new Compiler.Watching(compiler, 1000, err => err);
304+
actual.running.should.be.exactly(true);
305+
actual.constructor.name.should.be.exactly("Watching");
306+
done();
307+
});
308+
});
309309
describe("constructor", () => {
310310
it("constructs Watching.watchOptions correctly when passed a number, string, or object for watchOptions", (done) => {
311311
const Watching1 = compiler.watch(1000, err => err);

0 commit comments

Comments
 (0)