1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Internet_Security/test/test-pages.js
2020-06-04 10:58:19 +02:00

14 lines
331 B
JavaScript

const expect = require("chai").expect;
const request = require("request");
const server = require("../app");
it("Main page content", (done) => {
request("http://localhost:8080" , function(error, response) {
expect(response.statusCode).to.equal(200);
done();
});
});
after(() => {
server.close();
});