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