Domain degisikligi: fristy.net -> fristy.dev
This commit is contained in:
18 files changed
+165
-37
No files matched your search
@@ -13,7 +13,7 @@ function contextWith(id: string) {
|
||||
describe("GET /api/discord-app/[id]", () => {
|
||||
it("returns 400 for non-numeric ids", async () => {
|
||||
const response = await GET(
|
||||
new Request("https://fristy.net/api/discord-app/abc"),
|
||||
new Request("https://fristy.dev/api/discord-app/abc"),
|
||||
contextWith("abc"),
|
||||
);
|
||||
expect(response.status).toBe(400);
|
||||
@@ -25,7 +25,7 @@ describe("GET /api/discord-app/[id]", () => {
|
||||
vi.fn(async () => ({ ok: false, status: 404 })),
|
||||
);
|
||||
const response = await GET(
|
||||
new Request("https://fristy.net/api/discord-app/123"),
|
||||
new Request("https://fristy.dev/api/discord-app/123"),
|
||||
contextWith("123"),
|
||||
);
|
||||
expect(response.status).toBe(404);
|
||||
@@ -39,7 +39,7 @@ describe("GET /api/discord-app/[id]", () => {
|
||||
}),
|
||||
);
|
||||
const response = await GET(
|
||||
new Request("https://fristy.net/api/discord-app/123"),
|
||||
new Request("https://fristy.dev/api/discord-app/123"),
|
||||
contextWith("123"),
|
||||
);
|
||||
expect(response.status).toBe(502);
|
||||
|
||||
Reference in new issue
Block a user