init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import * as supertest from "supertest";
|
||||
import { default as app } from "../src/server";
|
||||
const request = supertest("localhost:3000");
|
||||
|
||||
describe("GET /api", () => {
|
||||
it("should return 200 OK", () => {
|
||||
request
|
||||
.get("/api")
|
||||
.expect(200);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user