diff --git a/src/lib/jsdom-compat.js b/src/lib/jsdom-compat.js index e00e5f215619..e4dcec7218ee 100644 --- a/src/lib/jsdom-compat.js +++ b/src/lib/jsdom-compat.js @@ -98,8 +98,8 @@ if (utilsId) { }; } -var define = require('jsdom/lib/jsdom/level2/html').define; var jsdom = require('jsdom'); +var define = require('jsdom/lib/jsdom/level2/html').define; var elements = jsdom.defaultLevel; function _getTimeRangeDummy() {