diff --git a/docker-compose.yml b/docker-compose.yml index 81e0cfb0..e8458465 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,4 @@ services: image: jaredwray/mockhttp platform: linux/amd64 ports: - - '3000:3000' + - '3737:3000' diff --git a/packages/net/package.json b/packages/net/package.json index b4a2230c..73e6afa6 100644 --- a/packages/net/package.json +++ b/packages/net/package.json @@ -30,8 +30,8 @@ "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", "prepublish": "pnpm build", "lint": "biome check --write --error-on-warnings", - "test": "pnpm lint && TEST_URL=http://localhost:3000 vitest run --coverage", - "test:ci": "biome check --error-on-warnings && TEST_URL=http://localhost:3000 vitest run --coverage", + "test": "pnpm lint && TEST_URL=http://localhost:3737 vitest run --coverage", + "test:ci": "biome check --error-on-warnings && TEST_URL=http://localhost:3737 vitest run --coverage", "clean": "rimraf ./dist ./coverage ./node_modules" }, "devDependencies": { diff --git a/packages/net/test/index.test.ts b/packages/net/test/index.test.ts index ba53d6d8..b3a5d1d1 100644 --- a/packages/net/test/index.test.ts +++ b/packages/net/test/index.test.ts @@ -15,7 +15,7 @@ import { post, } from "../src/index.js"; -const testUrl = process.env.TEST_URL ?? "https://mockhttp.org"; +const testUrl = process.env.TEST_URL ?? "http://localhost:3737"; const testTimeout = 10_000; // 10 seconds describe("Cacheable Net", () => {