Skip to content

Commit

Permalink
fix: update assertion name in text-track-display test
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosVillasenor committed Aug 21, 2024
1 parent db21cc1 commit d5d52d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/tracks/text-track-display.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ if (!Html5.supportsNativeTextTracks()) {
assert.ok(player.textTrackDisplay.el_.querySelector('.vjs-text-track-cue').style.left === 'unset', 'Style of left for vjs-text-track-cue element should be unset');
assert.ok(player.textTrackDisplay.el_.querySelector('.vjs-text-track-cue').style.top === '1px', 'Style of top for vjs-text-track-cue element should be 1px');
assert.ok(player.textTrackDisplay.el_.querySelector('.vjs-text-track-cue').style.right === '2px', 'Style of right for vjs-text-track-cue element should be 2px');
assert.ok(player.textTrackDisplay.el_.firstChild.classList.contains('vjs-text-track-display-inset'), 'Child of textTrackDisplay should contain class of inset-alternative');
assert.ok(player.textTrackDisplay.el_.firstChild.classList.contains('vjs-text-track-display-inset'), 'Child of textTrackDisplay should contain class of vjs-text-track-display-inset');
player.dispose();
});
}

0 comments on commit d5d52d5

Please sign in to comment.