1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 20:27:37 +00:00
Files
TypeScript-Node-Starter/test/contact.test.ts
Bowden Kelly 6625b87b19 initial commit
2017-05-09 13:28:09 -07:00

9 lines
230 B
TypeScript

import * as supertest from "supertest";
const request = supertest("http://localhost:8000");
describe("GET /contact", () => {
it("should return 200 OK", (done) => {
request.get("/contact")
.expect(200, done);
});
});