mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Fix broken next test:
Now after ran the test MM_PORT of test case for change of port the enviroment variable is deleted.
This commit is contained in:
parent
19b9d3737e
commit
ef9157174c
@ -36,6 +36,10 @@ describe("port directive configuration", function () {
|
||||
// Set config sample for use in this test
|
||||
process.env.MM_CONFIG_FILE = "tests/configs/port_8090.js";
|
||||
});
|
||||
|
||||
after(function(){
|
||||
delete process.env.MM_PORT;
|
||||
});
|
||||
it("should return 200", function (done) {
|
||||
request.get("http://localhost:8100", function (err, res, body) {
|
||||
expect(res.statusCode).to.equal(200);
|
||||
|
Loading…
x
Reference in New Issue
Block a user