]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: adapt jest unit tests to angular 14 51979/head
authorNizamudeen A <nia@redhat.com>
Fri, 9 Jun 2023 14:06:41 +0000 (19:36 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 25 Aug 2023 07:27:13 +0000 (12:57 +0530)
commit08a32ec4ef79c32b3182d327a79fdfbb3376164d
treea0018b61ef04d9f642881241a04539cc604ded7f
parent8915205a9e190601d88f543ea898f0c1e28ca652
mgr/dashboard: adapt jest unit tests to angular 14

Important change would be the introduction of `TypedFormControl` which
is now more stricter in typing the FormControl and FormGroups as well.
Right now the dashboard has many number of untypedforms which by default
is migrated to an `UntypedFormControl` class when I ran the angular
upgrade script

Fixes: https://tracker.ceph.com/issues/61641
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/host.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rbd.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/testing/unit-test-helper.ts