Skip to content

Commit e9aaf50

Browse files
committed
fix: update dev script for improved debugging and change API base URL in test config
1 parent bfb3973 commit e9aaf50

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/http-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"leanspec-http": "./bin/leanspec-http.js"
88
},
99
"scripts": {
10-
"dev": "nodemon --watch ./binaries --exec 'node ./bin/leanspec-http.js'",
10+
"dev": "LEANSPEC_DEBUG=1 nodemon --watch ./binaries --exec 'node ./bin/leanspec-http.js -v'",
1111
"typecheck": "echo 'No TypeScript source to check'"
1212
},
1313
"keywords": [

tests/api/vitest.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ export default defineConfig({
1111
sequence: {
1212
shuffle: false,
1313
},
14+
maxConcurrency: parseInt(process.env.MAX_CONCURRENCY || '1', 10),
15+
maxWorkers: parseInt(process.env.MAX_WORKERS || '1', 10),
1416
// Environment variable for API base URL
1517
env: {
16-
API_BASE_URL: process.env.API_BASE_URL || 'http://localhost:3001',
18+
API_BASE_URL: process.env.API_BASE_URL || 'http://localhost:3333',
1719
},
1820
},
1921
});

0 commit comments

Comments
 (0)