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

15 lines
331 B
JavaScript
Raw Normal View History

2020-06-04 10:44:34 +02:00
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();
});