-
Notifications
You must be signed in to change notification settings - Fork 0
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
Provide server exports #130
Comments
diego-aquino
added a commit
that referenced
this issue
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zimic/server
and factorycreateServer
to not expose the Server class directlyThe text was updated successfully, but these errors were encountered: