mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Stories: format the corner-controls test
This commit is contained in:
1 parent
9e6207d7f2
commit
c3b8013038
1 file changed
+5
-1
@@ -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', '');
|
||||
|
||||
Reference in new issue
Block a user