How to test es6 module that imports jquery with jsdom
Got it, test/_setup.js needed the following:
global.document = require('jsdom').jsdom('<html></html>');
global.window = document.defaultView;
global.$ = require('jquery')(window);
document.parentWindow is deprecated from jsdom.