Skip to content

Commit

Permalink
fix(stark-core): update rxjs and @ngrx
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenkens committed Feb 7, 2024
1 parent ead28b1 commit cd9c317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,8 @@ describe("Service: StarkRoutingService", () => {
});

it("should reload the current page", (done: DoneFn) => {
spyOn($state, "reload").and.returnValue(throwError("Reload has failed").toPromise());

spyOn($state, "reload").and.returnValue(<any>(throwError("Reload has failed").toPromise()));

const statesConfig: StateDeclaration[] = $state.get();
expect(statesConfig.length).toBe(numberOfMockStates);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class StarkSessionServiceImpl implements StarkSessionService {
return true;
})
)
.toPromise<boolean>(),
.toPromise(),
{ priority: 1000 } // very high priority (this hook should be the first one to be called to reject transitions immediately)
);
}
Expand Down

0 comments on commit cd9c317

Please sign in to comment.