Use env vars and fix tests

This commit is contained in:
Álvaro
2020-12-16 16:32:32 +01:00
committed by GitHub
parent 92be27e700
commit 5c491a25cf
23 changed files with 1434 additions and 337 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ var serverOptions = require('../../../lib/server-options');
describe('windshaft', function () {
it('should have valid global environment', function () {
assert.strictEqual(global.environment.name, 'test');
assert.strictEqual(global.environment.environment, 'test');
});
it('can instantiate a Windshaft object (configured express instance)', function () {