Commit 48b2783d authored by Paul Slaughter's avatar Paul Slaughter

Rename Jest global `dom` to `jsdom`

parent a2dd3862
......@@ -51,7 +51,7 @@ class CustomEnvironment extends JSDOMEnvironment {
this.global.fetch = () => {};
// Expose the jsdom (created in super class) to the global so that we can call reconfigure({ url: '' }) to properly set `window.location`
this.global.dom = this.dom;
this.global.jsdom = this.dom;
Object.assign(this.global.performance, {
mark: () => null,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment