This change makes tests more consistent by allowing a _onStartComplete callback to be called after the URL has been updated by start(). This makes it so that we can ensure start() is finished and all necessary bindings have been set up before making any changes to the route during tests.
This change makes tests more consistent by allowing a
_onStartComplete
callback to be called after the URL has been updated bystart()
. This makes it so that we can ensurestart()
is finished and all necessary bindings have been set up before making any changes to the route during tests.Closes https://github.com/canjs/can-route/issues/190.