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

feat(*): update several dependencies

This commit is contained in:
Alan Agius
2017-10-29 14:01:58 +01:00
committed by Bowden
parent cda6561d86
commit 4d2b9148cf
8 changed files with 4715 additions and 3474 deletions

View File

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