resolveResponse() mutates its input
jrr opened this issue · comments
Despite going through the trouble of making a copy:
contentful-resolve-response/index.js
Line 155 in c6ef571
It seems that resolveResponse()
is mutating its input.
See associated PR for a failing test.
Here's a one-line changes that fixes the unit test, but I haven't tested the change with a real app: