Skip to content

Commit

Permalink
Merge 2f290b9 into 94a1a6b
Browse files Browse the repository at this point in the history
  • Loading branch information
ushukla116 committed Mar 27, 2018
2 parents 94a1a6b + 2f290b9 commit c9bcea7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/Watchpack.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*globals describe it beforeEach afterEach */
require("should");
var path = require("path");
var TestHelper = require("./helpers/TestHelper");
var Watchpack = require("../lib/watchpack");
var path = require("path"),
TestHelper = require("./helpers/TestHelper"),
Watchpack = require("../lib/watchpack"),

var fixtures = path.join(__dirname, "fixtures");
var testHelper = new TestHelper(fixtures);
fixtures = path.join(__dirname, "fixtures"),
testHelper = new TestHelper(fixtures);

describe("Watchpack", function() {
this.timeout(10000);
Expand All @@ -19,7 +19,7 @@ describe("Watchpack", function() {
var changeEvents = 0;
w.on("change", function(file) {
file.should.be.eql(path.join(fixtures, "a"));
changeEvents++;
++changeEvents;
});
w.on("aggregated", function(changes) {
changes.should.be.eql([path.join(fixtures, "a")]);
Expand Down

0 comments on commit c9bcea7

Please sign in to comment.