I have a test that imports a component that in turn imports a helper file that uses the window object to pull out a query string parameter. I get the following erro
window
You could try doing
global.window = new jsdom.JSDOM().window; global.document = window.document;