* All file imports change from commonjs to es-module * Improved plex error responses back from api * Converted viewHistory to es module * Es-module requires file extension, updated all imports * Fix esmodule not having __dirname defined in scope * Replace dynamic-require with fs readFileSync * Short message service module function is exported as default * Resolved lint issues & ignore import/extension rule until typescript * All tests file imports changed from commonjs to es-module * Import json fixtures with new helper
14 lines
314 B
Plaintext
14 lines
314 B
Plaintext
/* eslint-disable no-return-assign */
|
|
import net from "net";
|
|
import server from "../../src/webserver/server.js";
|
|
|
|
describe("As a developer I want the server to start", () => {
|
|
after(() => {
|
|
server.close();
|
|
});
|
|
|
|
it("should listen on port 31400", done => {
|
|
net.createConnection(31459, done);
|
|
});
|
|
});
|