mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 20:27:37 +00:00
17 lines
349 B
TypeScript
17 lines
349 B
TypeScript
import * as request from "supertest";
|
|
import * as app from "../src/app";
|
|
|
|
describe("GET /login", () => {
|
|
it("should return 200 OK", () => {
|
|
return request(app).get("/login")
|
|
.expect(200);
|
|
});
|
|
});
|
|
|
|
describe("GET /signup", () => {
|
|
it("should return 200 OK", () => {
|
|
return request(app).get("/signup")
|
|
.expect(200);
|
|
});
|
|
});
|