1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

fix up tests

This commit is contained in:
Bowden
2017-12-14 15:27:52 -08:00
parent e7e0bb7c7c
commit 1f6f2b06aa
6 changed files with 18 additions and 166 deletions

View File

@@ -1,11 +1,9 @@
import * as supertest from "supertest";
import * as app from "../src/server";
import * as request from "supertest";
import * as app from "../src/app";
describe("GET /contact", () => {
const request = supertest(app);
it("should return 200 OK", (done) => {
request.get("/contact")
request(app).get("/contact")
.expect(200, done);
});
});