mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 20:27:37 +00:00
16 lines
363 B
TypeScript
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);
|
|
});
|
|
}); |