]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1915326: fix AngularJS test suite
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 12 May 2023 14:48:45 +0000 (10:48 -0400)
committerJane Sandberg <js7389@princeton.edu>
Sat, 13 May 2023 15:00:33 +0000 (08:00 -0700)
commitacd87cd359e10cb679309ce56b560cfd89c6d25a
tree4f87d4031737a5fb120f9977515ec4aa30be0e51
parent6ac9a0508f31e1a5a6cf20b39974a6f84314b0f3
LP#1915326: fix AngularJS test suite

Several tests of egOrg started failing when Lovefield
was added as a dependency. This patch fixes them by
ensuring that Lovefield is loaded.

To test
-------
[1] Go to Open-ILS/web/js/ui/default/staff and run
    `npm run test`. Note that six tests fail because
    'lf' is undefined.
[2] Apply the patch and repeat step 1. This time, all
    of the tests should pass.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/web/js/ui/default/staff/test/karma.conf.js