Skip to content

Commit

Permalink
Fix window ref
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Jul 10, 2024
1 parent 6d5b650 commit 1cc37af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/dom/forms.browser.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ var domTestRunner = require('../../src/test-utils/domTestRunner');

describe('forms', function() {
const runner = domTestRunner.install();
const { window } = runner;

function createEvent(type) {
return new window.Event(type, {bubbles: true});
return new runner.window.Event(type, {bubbles: true});
}

describe('textarea', function() {
Expand Down

0 comments on commit 1cc37af

Please sign in to comment.