Skip to content

Commit

Permalink
ci: Remove lodash dependency from test files
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed May 27, 2016
1 parent fbccc2f commit d5efbd8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/specs/plugins/connector.js
Expand Up @@ -3,7 +3,6 @@
var browserSync = require("../../../");

var request = require("supertest");
var _ = require("lodash");
var http = require("http");
var connect = require("connect");
var assert = require("chai").assert;
Expand Down Expand Up @@ -40,7 +39,7 @@ describe("Plugins: Using the connector middleware:", function () {
.get("/shane")
.expect(200)
.end(function (err, res) {
assert.isTrue(_.includes(res.text, "window.___browserSync___ = {};"));
assert.include(res.text, "window.___browserSync___ = {};");
instance.cleanup(done);
});
}
Expand Down Expand Up @@ -85,7 +84,7 @@ describe("Plugins: Using the connector middleware:", function () {
.get("/shane")
.expect(200)
.end(function (err, res) {
assert.isTrue(_.includes(res.text, "/browser-sync-cp"));
assert.include(res.text, "/browser-sync-cp");
instance.cleanup(done);
});
}
Expand Down

0 comments on commit d5efbd8

Please sign in to comment.