Skip to content
Snippets Groups Projects
Commit ddb78727 authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Fix failed test

parent f630898e
Branches
Tags
No related merge requests found
......@@ -142,7 +142,11 @@ describe('RouteService', () => {
describe('getHistory', () => {
it('should dispatch AddUrlToHistoryAction on NavigationEnd event', () => {
serviceAsAny.store = observableOf({ history: ['url', 'newurl'] });
serviceAsAny.store = observableOf({
core: {
history: ['url', 'newurl']
}
});
service.getHistory().subscribe((history) => {
expect(history).toEqual(['url', 'newurl']);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment