Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngworker/router-component-store
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9f3877c9b8e9a13113463e2309d628b7c334f19c
Choose a base ref
..
head repository: ngworker/router-component-store
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3b30d0718036cfdf174fbaf850e1c435d5026321
Choose a head ref
Showing with 6 additions and 0 deletions.
  1. +6 −0 packages/router-component-store/src/lib/router-history-store/router-history.store.spec.ts
Original file line number Diff line number Diff line change
@@ -98,6 +98,8 @@ describe(RouterHistoryStore.name, () => {
}

it('the URLs behave like the History API when navigating using links', async () => {
expect.assertions(2);

const { click, routerHistory } = await setup();
let currentUrl: string | undefined;
routerHistory.currentUrl$.subscribe((url) => {
@@ -121,6 +123,8 @@ describe(RouterHistoryStore.name, () => {
});

it('the URLs behave like the History API when navigating back', async () => {
expect.assertions(2);

const { click, routerHistory } = await setup();
let currentUrl: string | undefined;
routerHistory.currentUrl$.subscribe((url) => {
@@ -144,6 +148,8 @@ describe(RouterHistoryStore.name, () => {
});

it('the URLs behave like the History API when navigating back then using links', async () => {
expect.assertions(2);

const { click, routerHistory } = await setup();
let currentUrl: string | undefined;
routerHistory.currentUrl$.subscribe((url) => {