diff --git a/test/dom/forms.browser.mocha.js b/test/dom/forms.browser.mocha.js index e4d00b31..99724341 100644 --- a/test/dom/forms.browser.mocha.js +++ b/test/dom/forms.browser.mocha.js @@ -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() {