mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-02 19:47:43 +00:00
8 lines
225 B
JavaScript
8 lines
225 B
JavaScript
'use strict';
|
|
|
|
import {jsdom} from 'jsdom';
|
|
|
|
const document = global.document = jsdom('<html><head></head><body></body></html>');
|
|
const window = global.window = document.defaultView;
|
|
global.navigator = window.navigator = {};
|