diff --git a/test/unit/api.js b/test/unit/api.js index 77df09c31..96d0dcfbc 100644 --- a/test/unit/api.js +++ b/test/unit/api.js @@ -72,7 +72,7 @@ test('should export ready api call to public', function() { }); test('should export useful components to the public', function () { - ok(videojs.TOUCH_ENABLED, 'Touch detection should be public'); + ok(videojs.TOUCH_ENABLED !== undefined, 'Touch detection should be public'); ok(videojs.ControlBar, 'ControlBar should be public'); ok(videojs.Button, 'Button should be public'); ok(videojs.PlayToggle, 'PlayToggle should be public');