Skip to content

Commit

Permalink
Update benchmark runner to support the new API
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris-van-der-Wel authored and domenic committed May 20, 2017
1 parent 1833f78 commit 2d257ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/document-suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const jsdomBenchmark = require("./jsdom-benchmark");
const jsdom = require("..");

const nativeDoc = global.document;
const jsdomDoc = jsdom.jsdom && jsdom.jsdom();
const jsdomDoc = jsdom.JSDOM && (new jsdom.JSDOM()).window.document;

function noop() {
// intentional no-op function
Expand Down

0 comments on commit 2d257ef

Please sign in to comment.