Skip to content

feat(testing): configure ignored routes in test server - #793

Open
hugosmoreira wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
hugosmoreira:fix/test-server-ignored-routes
Open

feat(testing): configure ignored routes in test server#793
hugosmoreira wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
hugosmoreira:fix/test-server-ignored-routes

Conversation

@hugosmoreira

Copy link
Copy Markdown

Summary

  • add an optional TestServerOptions bag to getTestServer
  • pass ignoredRoutes through while preserving the existing default behavior
  • document and test disabling the default favicon and robots.txt short-circuit

Fixes #778

Validation

  • TypeScript compilation
  • 7 focused HTTP integration tests
  • 108 repository tests, including the pack-and-install smoke test
  • ESLint and Prettier on the changed TypeScript files
  • API Extractor
  • git diff --check

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.

Feature request: allow overriding ignoredRoutes in getTestServer()

1 participant