Closed joefiorini closed 5 years ago
Currently when you call mockGraphqlOps with a third operation, it will keep the first & last but drop the one in the middle. This PR spreads currentOps instead of operations to ensure it keeps all mocked operations.
mockGraphqlOps
currentOps
operations
Ah, good call, thanks!
Currently when you call
mockGraphqlOps
with a third operation, it will keep the first & last but drop the one in the middle. This PR spreadscurrentOps
instead ofoperations
to ensure it keeps all mocked operations.