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