Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Added custom cache option to MockedProvider #2142

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed console.log
  • Loading branch information
JakeDawkins committed Jun 27, 2018
commit c26fa6ee0fa5086b70000cadbb2e05dc8ba7777d
1 change: 0 additions & 1 deletion test/test-utils.test.tsx
Original file line number Diff line number Diff line change
@@ -235,7 +235,6 @@ it('allows a custom cache to be used for the MockedProvider', done => {
class Container extends React.Component<ChildProps<Variables, Data, Variables>> {
componentWillReceiveProps(nextProps: ChildProps<Variables, Data, Variables>) {
expect(nextProps.data!.user!.id).toEqual('custom');
console.log(nextProps.data);
done();
}