]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1830973 Angular 8 org family test spec repair
authorBill Erickson <berickxx@gmail.com>
Tue, 22 Oct 2019 17:52:56 +0000 (13:52 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 28 Oct 2019 15:29:39 +0000 (11:29 -0400)
commit63f7c2448017a2c50ba95ed25bc0e5c89671d060
tree9682461a42facf307fc451fda50078b5cbd9c565
parent500a2a84e06bd62639a87994c6a190c315e5cfb4
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>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.spec.ts