* fix: module name typo

* fix: issue #3814
This commit is contained in:
Fumihiro Xue 2018-02-16 17:49:25 +08:00 committed by Tim Neutkens
parent a7741341cb
commit 972db9ba43
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ class Index extends React.Component {
// Force a reload of all the current queries now that the user is
// logged in, so we don't accidentally leave any state around.
this.props.client.resetStore().then(() => {
this.props.client.cache.reset().then(() => {
// Redirect to a more useful page when signed out
redirect({}, '/signin')
})

View file

@ -18,7 +18,7 @@ const test = require('ava')
* Apollo that we can clear, etc
*/
const apolloFilePath = require.resolve('../lib/init-apollo')
const apolloFilePath = require.resolve('../lib/initApollo')
test.beforeEach(() => {
// Clean up the cache