Skip to content

test(integration): add integration test setup pointing to local API#3

Merged
spideystreet merged 1 commit intomainfrom
test/integration-setup
Mar 11, 2026
Merged

test(integration): add integration test setup pointing to local API#3
spideystreet merged 1 commit intomainfrom
test/integration-setup

Conversation

@spideystreet
Copy link
Copy Markdown
Contributor

@spideystreet spideystreet commented Mar 11, 2026

Summary

  • Add tests/integration/ directory with setup helper and smoke tests
  • Helper instantiates OSTClient with OST_API_URL (defaults to http://localhost:8000)
  • Smoke tests verify /categories, /domains, /techstacks endpoints return non-empty arrays
  • Exclude integration tests from regular npm test runs
  • Add npm run test:integration script for separate execution

Test plan

  • Unit tests still pass (npm test - 18 tests, integration excluded)
  • Type check passes (npm run lint)
  • Run npm run test:integration with ost-linker API on localhost:8000

- Create tests/integration/ with setup helper and smoke tests
- Exclude integration tests from regular vitest runs
- Add test:integration script for separate execution
- Smoke tests verify /categories, /domains, /techstacks endpoints
@spideystreet spideystreet merged commit a5cc257 into main Mar 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant