More debugging

This commit is contained in:
Oliver Walters 2026-06-27 00:15:45 +00:00
parent 1f0aef7ff2
commit 402099b57e
1 changed files with 7 additions and 2 deletions

View File

@ -185,8 +185,13 @@ test('Dashboard - Preserve widget sizes', async ({ browser }) => {
const inflated: Record<string, any[]> = {};
for (const bp of Object.keys(current)) {
inflated[bp] = current[bp].map((it: any) => {
console.log('inflating it:', bp, it);
return it?.i === 'ovr-so' ? { ...it, w: TARGET_W, h: TARGET_H } : it;
if (it?.i == 'ovr-so') {
it['w'] = TARGET_W;
it['h'] = TARGET_H;
}
console.log('inflating it:', it?.i, '->', it);
return it;
});
}