This commit is contained in:
shangqiyuan
2026-05-10 01:07:20 +08:00
commit 122d373804
174 changed files with 25788 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import * as supertest from "supertest";
import { default as app } from "../src/server";
const request = supertest("localhost:3000");
describe("GET /random-url", () => {
it("should return 404", () => {
return request.get("/random-url").then((response) => {
expect(response.status).toBe(404);
});
});
});