diff --git a/tests/e2e/env_spec.js b/tests/e2e/env_spec.js index 04bb5542..202bd5e4 100644 --- a/tests/e2e/env_spec.js +++ b/tests/e2e/env_spec.js @@ -37,4 +37,11 @@ describe("Electron app environment", function () { }); }); + it("get request from http://localhost:8080/nothing should return 404", function (done) { + request.get("http://localhost:8080/nothing", function (err, res, body) { + expect(res.statusCode).to.equal(404); + done(); + }); + }); + });