1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[CL-707] Migrate CL codebase to signals (#15340)

This commit is contained in:
Vicki League
2025-07-16 08:39:37 -04:00
committed by GitHub
parent 97ec9a6339
commit 6811ea4c0b
124 changed files with 944 additions and 809 deletions

View File

@@ -20,6 +20,6 @@ export class PopupBackBrowserDirective extends BitActionDirective {
super(buttonComponent, validationService, logService);
// override `bitAction` input; the parent handles the rest
this.handler = () => this.router.back();
this.handler.set(() => this.router.back());
}
}

View File

@@ -195,7 +195,7 @@ describe("NavigationProductSwitcherComponent", () => {
const navItem = fixture.debugElement.query(By.directive(NavItemComponent));
expect(navItem.componentInstance.forceActiveStyles).toBe(true);
expect(navItem.componentInstance.forceActiveStyles()).toBe(true);
});
});

View File

@@ -112,7 +112,7 @@ describe("VaultBannersComponent", () => {
fixture.detectChanges();
const banner = fixture.debugElement.query(By.directive(BannerComponent));
expect(banner.componentInstance.bannerType).toBe("premium");
expect(banner.componentInstance.bannerType()).toBe("premium");
});
it("dismisses premium banner", async () => {