Stories: format the corner-controls test

This commit is contained in:
Sameh Khamis committed 2026-11-16 14:15:15 -08:00
1 parent 9e6207d7f2
commit c3b8013038
1 file changed
+5 -1
+5 -1
View File
@@ -131,7 +131,11 @@ test('the corner controls are the readout and elements marked data-stories-corne
const readout = root.appendChild(document.createElement('div'));
readout.id = 'style-indicator';
const other = root.appendChild(document.createElement('div'));
assert.deepEqual(cornerControls(root), [readout], 'an unmarked element is not');
assert.deepEqual(
cornerControls(root),
[readout],
'an unmarked element is not',
);
// A marked element added later counts on the next look.
const marked = root.appendChild(document.createElement('button'));
marked.setAttribute('data-stories-corner', '');