1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-09 00:37:27 +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 /random-url", () => {
const request = supertest(app);
it("should return 404", (done) => {
request.get("/reset")
request(app).get("/reset")
.expect(404, done);
});
});