Skip to content

Commit e5b151c

Browse files
committed
fix rebase issue
1 parent 9b0e837 commit e5b151c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/player.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ QUnit.test('should add a touch-enabled classname when touch is supported', funct
636636

637637
assert.notEqual(player.el().className.indexOf('vjs-touch-enabled'), -1, 'touch-enabled classname added');
638638

639-
browser.TOUCH_ENABLED = origTouch;
639+
browser.stub_TOUCH_ENABLED(origTouch);
640640
player.dispose();
641641
});
642642

@@ -646,7 +646,7 @@ QUnit.test('should not add a touch-enabled classname when touch is not supported
646646
// Fake not having touch support in case that the browser running the test supports it
647647
const origTouch = browser.TOUCH_ENABLED;
648648

649-
browser.TOUCH_ENABLED = false;
649+
browser.stub_TOUCH_ENABLED(false);
650650

651651
const player = TestHelpers.makePlayer({});
652652

0 commit comments

Comments
 (0)