]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Refactoring
authorStephan Müller <smueller@suse.com>
Tue, 30 Jul 2019 15:56:38 +0000 (17:56 +0200)
committerStephan Müller <smueller@suse.com>
Wed, 4 Sep 2019 14:22:33 +0000 (16:22 +0200)
commita1e81bb28e497d18388d0aea8693b1ca20e07a2d
tree5f77d7406b5901de304721e2a59fe6f1fd2950a2
parent7406d5e02d751f22a0e3efb807d541d82ab48c29
mgr/dashboard: Refactoring

I came across a yoda case and a test case that didn't use 'done' while
using an async call.

Fixes: https://tracker.ceph.com/issues/40828
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/testing/unit-test-helper.ts