mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-09 08:08:16 +00:00
initial commit
This commit is contained in:
9
test/app.test.ts
Normal file
9
test/app.test.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as supertest from "supertest";
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
describe("GET /random-url", () => {
|
||||
it("should return 404", (done) => {
|
||||
request.get("/reset")
|
||||
.expect(404, done);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user