Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: server exports (#130) #179

Merged
merged 10 commits into from
May 26, 2024
Merged

Conversation

diego-aquino
Copy link
Member

@diego-aquino diego-aquino commented May 26, 2024

Features

  • [#zimic] Added the module zimic/server to export server resources and allow programmatic management. The exported resources are:
    • createInterceptorServer
    • InterceptorServer
    • InterceptorServerOptions
    • NotStartedInterceptorServerError
    • runCommand
    • CommandError
    • DEFAULT_ACCESS_CONTROL_HEADERS
    • DEFAULT_PREFLIGHT_STATUS_CODE

Refactoring

  • [examples] Simplified the examples using remote interceptors. Now that the function runCommand is exported from zimic/server, we can create a load script to apply the mocks before starting the applications.
  • [#zimic] Removed the prefix [zimic] from errors because it is not necessary.

Documentation

  • [examples] Improved the documentation of some examples.

Closes #130.

@diego-aquino diego-aquino changed the title @diego-aquino/130-server-exports feat: server exports (#130) May 26, 2024
@diego-aquino diego-aquino added this to the v0.5.2 milestone May 26, 2024
@diego-aquino diego-aquino self-assigned this May 26, 2024
@diego-aquino diego-aquino enabled auto-merge (squash) May 26, 2024 21:33
@diego-aquino diego-aquino merged commit df29f2a into canary May 26, 2024
14 checks passed
@diego-aquino diego-aquino deleted the @diego-aquino/130-server-exports branch May 26, 2024 21:35
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.

Provide server exports
1 participant