chore: update ports to 4000-range (4000/4001)

This commit is contained in:
asepharyana
2026-08-02 14:30:54 +07:00
parent dbcf9d68f2
commit d1e6f3b47a
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
/**
* E2E API tests — runs against a running backend instance.
* Usage: API_BASE=http://localhost:3001 vitest run
* Usage: API_BASE=http://localhost:4001 vitest run
*/
import { describe, expect, it } from "vitest";
const BASE = process.env.API_BASE ?? "http://localhost:3001/api";
const BASE = process.env.API_BASE ?? "http://localhost:4001/api";
async function api(path: string, init?: RequestInit) {
const res = await fetch(`${BASE}${path}`, {