I tried doing an Enzyme test instead but it totally barfs trying to mount my component (which returns a <JqxComboBox> from the render method). I get these kind of exceptions now:
console.error node_modules/jsdom/lib/jsdom/virtual-console.js:29
Error: Uncaught [Error: Invalid Selector – #JqxComboBoxjqx52b72e9dda50! Please, check whether the used ID or CSS Class name is correct.]
If I do an enzyme shallow() instead of mount() it doesn’t barf but the component is also next to useless, so unless I can mount it properly in a testing environment, I may as well limp along with React Testing Library.
Is there any guidance on how to test React apps using jQWidgets?