Skip to content

Commit

Permalink
Reverted test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-newey committed Oct 17, 2023
1 parent 09de6b4 commit 3f7ae84
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/components/regions/pages/new/new.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,22 +169,17 @@ describe("routing and resolvers", () => {
location.go(path);

router.initialNavigation();
fixture.detectChanges();
tick();
fixture.detectChanges();

expect(location.path()).toBe(path);
fixture.detectChanges();
tick();
fixture.detectChanges();

const component = ngMocks.find(fixture, NewComponent);
fixture.detectChanges();

return component;
}

fit("should resolve with project id in the the route", fakeAsync(() => {
it("should resolve with project id in the the route", fakeAsync(() => {
const path = `/projects/${project.id}/regions/new`;
const component = setup(path);

Expand Down

0 comments on commit 3f7ae84

Please sign in to comment.