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.
18 lines
350 B
18 lines
350 B
/* eslint-disable */
|
|
function test() {
|
|
const { window, document } = require('../dist/ssr-window');
|
|
|
|
const p = document.querySelectorAll('p');
|
|
const div = document.createElement('div');
|
|
|
|
const { width, height } = window.screen;
|
|
|
|
window.addEventListener('resize', () => {
|
|
//
|
|
});
|
|
|
|
// shouldn't throw an error
|
|
}
|
|
|
|
module.exports = test;
|