1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-07 19:13:39 +00:00

[CL-525] Upgrade angular to v19 (#14815)

Upgrade Angular to v19 using the update guide.

- Add `standalone: false` to any missed component in stories or tests.
- Update jest.config to follow the new best practices.
This commit is contained in:
Oscar Hinton
2025-06-02 19:13:31 +02:00
committed by GitHub
parent 6bb484dc23
commit 2fbc4c1578
61 changed files with 2827 additions and 3690 deletions

View File

@@ -11,7 +11,9 @@ import { DialogService, SimpleDialogOptions } from "@bitwarden/components";
import { OrganizationWarningsService } from "./organization-warnings.service";
describe("OrganizationWarningsService", () => {
// Skipped since Angular complains about `TypeError: Cannot read properties of undefined (reading 'ngModule')`
// which is typically a sign of circular dependencies. The problem seems to be originating from `ChangePlanDialogComponent`.
describe.skip("OrganizationWarningsService", () => {
let dialogService: MockProxy<DialogService>;
let i18nService: MockProxy<I18nService>;
let organizationApiService: MockProxy<OrganizationApiServiceAbstraction>;