mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
This is the implemenation of envsubst discussed in #1756 Documentation update will follow after merge.
16 lines
411 B
JavaScript
16 lines
411 B
JavaScript
const helpers = require("./helpers/global-setup");
|
|
|
|
describe("templated config with port variable", () => {
|
|
beforeAll(async () => {
|
|
await helpers.startApplication("tests/configs/port_variable.js");
|
|
});
|
|
afterAll(async () => {
|
|
await helpers.stopApplication();
|
|
});
|
|
|
|
it("should return 200", async () => {
|
|
const res = await helpers.fetch("http://localhost:8090");
|
|
expect(res.status).toBe(200);
|
|
});
|
|
});
|