snapshot e2e

This commit is contained in:
Karsten Hassel
2021-06-08 00:47:40 +02:00
parent 16bbb42b8d
commit 67011c0c32
20 changed files with 97 additions and 102 deletions

View File

@@ -27,7 +27,7 @@ describe("port directive configuration", function () {
});
describe("Set port 8090", function () {
before(function () {
beforeAll(function () {
// Set config sample for use in this test
process.env.MM_CONFIG_FILE = "tests/configs/port_8090.js";
});
@@ -41,13 +41,13 @@ describe("port directive configuration", function () {
});
describe("Set port 8100 on environment variable MM_PORT", function () {
before(function () {
beforeAll(function () {
process.env.MM_PORT = 8100;
// Set config sample for use in this test
process.env.MM_CONFIG_FILE = "tests/configs/port_8090.js";
});
after(function () {
afterAll(function () {
delete process.env.MM_PORT;
});