Skip to content

Commit ef766b5

Browse files
committed
fix: avoid coercing symbols to name in debug call
1 parent 00d2e17 commit ef766b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/fetch-mock-legacy/src/lib/response-builder.js

-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ e.g. {"body": {"status: "registered"}}`);
163163
this.debug('Wrapping body promises in ES proxies for observability');
164164
return new Proxy(originalResponse[name], {
165165
apply: (func, thisArg, args) => {
166-
this.debug(`Calling res.${name}`);
167166
const result = func.apply(response, args);
168167
if (result.then) {
169168
fetchMock._holdingPromises.push(result.catch(() => null));

0 commit comments

Comments
 (0)