Skip to content

Commit

Permalink
Fix _ not being defined in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Jun 1, 2018
1 parent d579b41 commit f62b623
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/app-bounce-test-as-root.js
Expand Up @@ -27,6 +27,7 @@ var assert = require("assert"),
http = require("http"),
https = require("https"),
urlparse = require("url").parse,
_ = require("lodash"),
httputil = require("./lib/http"),
oauthutil = require("./lib/oauth"),
xrdutil = require("./lib/xrd");
Expand Down
3 changes: 2 additions & 1 deletion test/app-e2e-test.js
Expand Up @@ -24,7 +24,8 @@ var assert = require("assert"),
vows = require("vows"),
fs = require("fs"),
path = require("path"),
proxyquire = require("proxyquire");
proxyquire = require("proxyquire"),
_ = require("lodash");

var ignore = function(err) {};

Expand Down
1 change: 1 addition & 0 deletions test/app-https-test-as-root.js
Expand Up @@ -27,6 +27,7 @@ var assert = require("assert"),
http = require("http"),
https = require("https"),
urlparse = require("url").parse,
_ = require("lodash"),
httputil = require("./lib/http"),
oauthutil = require("./lib/oauth"),
xrdutil = require("./lib/xrd");
Expand Down
1 change: 1 addition & 0 deletions test/login-web-ui-e2e-test.js
Expand Up @@ -25,6 +25,7 @@ var fs = require("fs"),
apputil = require("./lib/app"),
Browser = require("zombie"),
Step = require("step"),
_ = require("lodash"),
setupAppConfig = apputil.setupAppConfig;

var tc = _.clone(require("./config.json"));
Expand Down
1 change: 1 addition & 0 deletions test/middleware-unit-test.js
Expand Up @@ -25,6 +25,7 @@ var assert = require("assert"),
fs = require("fs"),
path = require("path"),
httpMocks = require("node-mocks-http"),
_ = require("lodash"),
schema = require("../lib/schema"),
URLMaker = require("../lib/urlmaker").URLMaker,
User = require("../lib/model/user").User,
Expand Down
1 change: 1 addition & 0 deletions test/security-headers-e2e-test.js
Expand Up @@ -22,6 +22,7 @@ var assert = require("assert"),
vows = require("vows"),
fs = require("fs"),
path = require("path"),
_ = require("lodash"),
version = require("../lib/version").version,
oauthutil = require("./lib/oauth"),
apputil = require("./lib/app"),
Expand Down
1 change: 1 addition & 0 deletions test/server-header-e2e-test.js
Expand Up @@ -22,6 +22,7 @@ var assert = require("assert"),
vows = require("vows"),
fs = require("fs"),
path = require("path"),
_ = require("lodash"),
version = require("../lib/version").version,
oauthutil = require("./lib/oauth"),
apputil = require("./lib/app"),
Expand Down
1 change: 1 addition & 0 deletions test/spamicity-test-as-root.js
Expand Up @@ -24,6 +24,7 @@ var fs = require("fs"),
express = require("express"),
vows = require("vows"),
Step = require("step"),
_ = require("lodash"),
httputil = require("./lib/http"),
oauthutil = require("./lib/oauth"),
apputil = require("./lib/app"),
Expand Down
1 change: 1 addition & 0 deletions test/stream-objects-unit-test.js
Expand Up @@ -24,6 +24,7 @@ var assert = require("assert"),
Step = require("step"),
fs = require("fs"),
path = require("path"),
_ = require("lodash"),
URLMaker = require("../lib/urlmaker").URLMaker,
schema = require("../lib/schema").schema,
Databank = databank.Databank,
Expand Down

0 comments on commit f62b623

Please sign in to comment.