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

16 lines
363 B
TypeScript

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