mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +00:00
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
import {} from "jest";
|
|
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);
|
|
});
|
|
});
|