Merge pull request #790 from roramirez/404_request-test

Test env 404 not found request http://localhost:8080/nothing
This commit is contained in:
Michael Teeuw 2017-03-28 12:51:23 +02:00 committed by GitHub
commit 3425e929e9

View File

@ -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();
});
});
});