Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ services:
image: jaredwray/mockhttp
platform: linux/amd64
ports:
- '3000:3000'
- '3737:3000'
4 changes: 2 additions & 2 deletions packages/net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/net/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
Loading