Closed
Description
TypeError: null is not an object (evaluating 'this$1.router.app.$nextTick')
at webpack:///~/vue-router/dist/vue-router.js:1321:0 <- /Users/blake/work/vue-creating-scalable-apps-workshop/final/test/unit/index.js:8738
Git Bisect points at 83418bc
Using router methods without Vue instance causes the above error. This affects unit tests with PhantomJS due to a popstate
event after tests are finished. This also breaks when using the feature as intended.
Note: The line that causes the error is to ensure that asynchronous components are resolved before callbacks are executed. We can not rely on the router.app
as this may not be available.