You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it("can be constructed multiple times",function(){navigator.add(responder,states.contact);navigator.start(states.contact);expect(navigator.getCurrentState().getPath()).toEqual(states.contact.getPath());varotherNavigator=newnavigatorjs.Navigator();otherNavigator.start();expect(navigator.getCurrentState().getPath()).toEqual(states.contact.getPath());expect(otherNavigator.getCurrentState().getPath()).toEqual("/");});
The navigator should be able to be instantiated multiple times, so in theory multiple components on a webpage could make use of the navigator.
With the current setup this won't be possible. The project should be refactored to make this possible.
The text was updated successfully, but these errors were encountered:
The following test is currently failing:
The navigator should be able to be instantiated multiple times, so in theory multiple components on a webpage could make use of the navigator.
With the current setup this won't be possible. The project should be refactored to make this possible.
The text was updated successfully, but these errors were encountered: