@igniter-js/caller 0.1.52 → 0.1.53

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.
package/dist/index.js CHANGED
@@ -2159,14 +2159,13 @@ var IgniterCallerBuilder = class _IgniterCallerBuilder {
2159
2159
  });
2160
2160
  }
2161
2161
  withSchemas(schemas, validation) {
2162
+ const { mock: _removedMock, ...stateWithoutMock } = this.state;
2162
2163
  const nextState = {
2163
- ...this.state,
2164
+ ...stateWithoutMock,
2164
2165
  schemas,
2165
2166
  schemaValidation: validation
2166
2167
  };
2167
- return new _IgniterCallerBuilder(
2168
- nextState
2169
- );
2168
+ return new _IgniterCallerBuilder(nextState);
2170
2169
  }
2171
2170
  /**
2172
2171
  * Attaches telemetry for request monitoring and observability.