hardlounge/test/fixtures/env.js
Jérémie Astori c2243ed7b4
Remove dead code in tests, and fix a link test
I used `npm run coverage` while *not* excluding the test folder to detect dead code in our test folder, it is actually pretty useful to do so (as a one-shot, not to do that in our config).
Only remaining unreached path is L40 in `test/plugins/auth/ldap.js`, but it does seem to me that it might be useful in case of failures, so I preferred to leave it there.
2017-12-09 18:56:05 -05:00

7 lines
156 B
JavaScript

"use strict";
global.log = require("../../src/log.js");
var home = require("path").join(__dirname, ".lounge");
require("../../src/helper").setHome(home);