fix logger.js, move jsdom in startApplication

This commit is contained in:
Karsten Hassel
2021-09-24 21:30:51 +02:00
parent 0ef6f89d44
commit a1c7f20990
4 changed files with 27 additions and 16 deletions

View File

@@ -3,8 +3,7 @@ let app = null;
describe("Display of modules", function () {
beforeAll(function (done) {
app = helpers.startApplication("tests/configs/modules/display.js");
helpers.getDocument("http://localhost:8080", done);
app = helpers.startApplication("tests/configs/modules/display.js", null, done);
});
afterAll(function () {
helpers.stopApplication(app);