Skip to content

Commit

Permalink
Merge pull request #20 from xolvio/removes-console-logs
Browse files Browse the repository at this point in the history
fix: Removes debug console logs
  • Loading branch information
mbaranovski authored Jun 11, 2020
2 parents 56a165a + 1c04a77 commit c10874f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@ function setupMocks(serviceMap, mocks) {
}
};
});
console.log("MICHAL: mocks", mocks);
service.schema = addResolversToSchema(service.schema, resolvers);
service.schema = addMocksToSchema({
schema: service.schema,
preserveResolvers: true,
mocks
});
console.log("MICHAL: service.schema", service.schema);

}
});
Expand Down
1 change: 0 additions & 1 deletion tests/singleService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ describe("Based on the data from the external service", () => {
};

const result = await executeGraphql({ query, mocks, service });
console.log("MICHAL: result", result);
expect(result.data._getProduct.shippingEstimate).toEqual(5);
});
});

0 comments on commit c10874f

Please sign in to comment.