mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-09 00:37:27 +00:00
11 lines
252 B
TypeScript
11 lines
252 B
TypeScript
import {} from 'jest';
|
|
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);
|
|
});
|
|
});
|