LP1830973 Angular 8 org family test spec repair user/berick/lp1830973-ang8-test-spec-repair
authorBill Erickson <berickxx@gmail.com>
Tue, 22 Oct 2019 17:52:56 +0000 (13:52 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 28 Oct 2019 14:35:27 +0000 (10:35 -0400)
commite4faadf61680fc821bc287514dfb4eeb093a39a0
tree3ec363a18583e19a246f203197e3c2b7c346a024
parent744aa58e4b712eacbc1b5670f7149d7b9b3699f9
LP1830973 Angular 8 org family test spec repair

The test runner does not like that the test expectations are wrapped in
the fixture.whenStable promise.  It reports an error, since no
expectations occur in line with the test:

ERROR: 'Spec 'Component: OrgFamilySelect allows user to turn off
includeDescendants checkbox' has no expectations.'

As the whenStable checks do not appear to be necessary, simply removing
them resolves the issue and allows the tests to succeed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.spec.ts