Skip to content

run tests against local server by default#413

Merged
bverbeken merged 1 commit intomasterfrom
run-tests-against-local-server-by-default
Jan 28, 2026
Merged

run tests against local server by default#413
bverbeken merged 1 commit intomasterfrom
run-tests-against-local-server-by-default

Conversation

@bverbeken
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the test harness so tests target a locally running server by default, while keeping CI pointed at the staging API.

Changes:

  • Default test baseUrl switched to http://localhost:9001, overrideable via API_URL.
  • Updated a couple of hardcoded endpoint concatenations to include a leading /.
  • systemApiSecret() now defaults to a local development secret; CI explicitly sets API_URL to staging.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/testUtils.ts Switches default test target to local server and adjusts URL building + system secret handling.
.github/workflows/build.yml Sets API_URL in CI so tests still run against staging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bverbeken bverbeken merged commit 59e4344 into master Jan 28, 2026
7 checks passed
@bverbeken bverbeken deleted the run-tests-against-local-server-by-default branch January 28, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants