Hi Joel,
To test client-side code, these days, I would try to give a go to Puppeteer
(see 1st link below), either directly or through something like
jest-puppeteer (see 2nd link below). Does this look like the type of
solution that would work for the testing you want to do on your XBL
components?
https://pptr.dev
https://github.com/smooth-code/jest-puppeteer
-Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet