mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-09 08:08:16 +00:00
feat(*): update several dependencies
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
|
||||
const request = supertest("http://localhost:8000");
|
||||
import * as app from "../src/server";
|
||||
|
||||
describe("GET /api", () => {
|
||||
const request = supertest(app);
|
||||
|
||||
it("should return 200 OK", () => {
|
||||
request
|
||||
.get("/api")
|
||||
|
||||
Reference in New Issue
Block a user