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

gets rid of errors during redux.test #391

Merged
merged 2 commits into from
Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Expect active development and potentially significant breaking changes in the `0

### vNext

[PR #391](https://github.com/apollostack/react-apollo/pull/391) gets rid of warnings during redux test.

### v0.7.2

- Bug: fix issue where changing variables while unskipping didn't result in the variables actually changing - [Issue #374](https://github.com/apollostack/react-apollo/issues/374)
Expand Down
10 changes: 5 additions & 5 deletions test/react-web/client/libraries/redux.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('redux integration', () => {
if (nextProps.data.loading) return;
expect(nextProps.data.allPeople).toEqual(data2.allPeople);
done();
wrapper.unmount();
//wrapper.unmount();
}
}
render() {
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('redux integration', () => {
}
};

renderer.create(
mount(
<ApolloProvider store={store} client={client}>
<Container />
</ApolloProvider>
Expand Down Expand Up @@ -205,15 +205,15 @@ describe('redux integration', () => {
if (nextProps.data.loading) return;
expect(nextProps.data.allPeople).toEqual(data2.allPeople);
done();
wrapper.unmount();
//wrapper.unmount();
}
}
render() {
return null;
}
};

wrapper = mount(
wrapper = renderer.create(
<ApolloProvider store={store} client={client} immutable={true}>
<Container />
</ApolloProvider>
Expand Down Expand Up @@ -266,7 +266,7 @@ describe('redux integration', () => {
if (nextProps.data.loading) return;
expect(nextProps.data.allPeople).toEqual(data2.allPeople);
done();
wrapper.unmount();
//wrapper.unmount();
}
}
render() {
Expand Down