You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* eslint-disable */
|
|
function test() {
|
|
const { JSDOM } = require('jsdom');
|
|
|
|
const dom = new JSDOM(`<!DOCTYPE html><p>Hello world</p>`);
|
|
|
|
global.window = dom.window;
|
|
global.document = window.document;
|
|
|
|
require('../dist/ssr-window');
|
|
// shouldn't throw an error
|
|
}
|
|
|
|
module.exports = test;
|