1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 15:37:24 +00:00
Files
TypeScript-Node-Starter/test/user.test.ts
2017-12-14 11:33:28 -08:00

17 lines
358 B
TypeScript

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