@zimic/interceptor 1.3.6-canary.2 → 1.3.6-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1776,6 +1776,9 @@ function createInterceptorServer(options = {}) {
1776
1776
  * We currently only support the 'socket:auth:valid' message and it is the only possible control message here. */
1777
1777
  /* istanbul ignore if -- @preserve
1778
1778
  * This is not expected since the server is not stopped unless it is running. */
1779
+ /* istanbul ignore next -- @preserve
1780
+ * This if statement only runs if concurrent calls to stop() are made, which is an edge case that is hard to
1781
+ * reliably reproduce in tests. */
1779
1782
  /* istanbul ignore if -- @preserve
1780
1783
  * This is just a type guard to ensure the value is valid. In practice, this condition should never be true. */
1781
1784
  /* istanbul ignore next -- @preserve
@@ -1814,5 +1817,5 @@ function createInterceptorServer(options = {}) {
1814
1817
  * Due to the rare nature of this edge case, we can't reliably reproduce it in tests. */
1815
1818
 
1816
1819
  export { DEFAULT_ACCESS_CONTROL_HEADERS, DEFAULT_INTERCEPTOR_TOKENS_DIRECTORY, DEFAULT_PREFLIGHT_STATUS_CODE, NotRunningInterceptorServerError_default, RunningInterceptorServerError_default, createInterceptorServer, createInterceptorToken, listInterceptorTokens, logger, readInterceptorTokenFromFile, removeInterceptorToken };
1817
- //# sourceMappingURL=chunk-4XT4ZOJ2.mjs.map
1818
- //# sourceMappingURL=chunk-4XT4ZOJ2.mjs.map
1820
+ //# sourceMappingURL=chunk-WG7EXKWT.mjs.map
1821
+ //# sourceMappingURL=chunk-WG7EXKWT.mjs.map