Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Mar 18, 2024
1 parent 4d66610 commit 98c6cba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react/test/ssr.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ describe('Server-side rendering (SSR)', () => {
);
const expected =
'<theoplayer-default-ui>' +
'<div slot="top-control-bar" style="display:contents"><theoplayer-play-button></theoplayer-play-button></div>' +
'<div slot="bottom-control-bar" style="display:contents"><theoplayer-time-range></theoplayer-time-range></div>' +
'<theoplayer-slot-container slot="top-control-bar"><theoplayer-play-button></theoplayer-play-button></theoplayer-slot-container>' +
'<theoplayer-slot-container slot="bottom-control-bar"><theoplayer-time-range></theoplayer-time-range></theoplayer-slot-container>' +
'</theoplayer-default-ui>';
assert.equal(actual, expected);
});
Expand All @@ -43,7 +43,7 @@ describe('Server-side rendering (SSR)', () => {
);
const expected =
'<theoplayer-ui>' +
'<div slot="top-chrome" style="display:contents"><theoplayer-play-button></theoplayer-play-button></div>' +
'<theoplayer-slot-container slot="top-chrome"><theoplayer-play-button></theoplayer-play-button></theoplayer-slot-container>' +
'<theoplayer-time-range></theoplayer-time-range>' +
'</theoplayer-ui>';
assert.equal(actual, expected);
Expand Down

0 comments on commit 98c6cba

Please sign in to comment.