fix(platform-test): badge div call syntax

- badgeRow was created with 3rd arg to div(className, children) which was ignored
- Fix: div('', [badge]) wraps badge properly so Frontend Bundle Loaded text renders
This commit is contained in:
mirivlad 2026-06-17 18:51:20 +08:00
parent 7a1926e295
commit 3751f52055
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
el('span', {}, ['✅']), el('span', {}, ['✅']),
el('span', {}, ['Frontend Bundle Loaded']), el('span', {}, ['Frontend Bundle Loaded']),
]); ]);
var badgeRow = div('', { style: { marginBottom: '1rem' } }, [badge]); var badgeRow = div('', [badge]);
/* ── Test results summary ──────────────────────────────────── */ /* ── Test results summary ──────────────────────────────────── */
var testsData = [ var testsData = [

View File

@ -79,7 +79,7 @@
el('span', {}, ['✅']), el('span', {}, ['✅']),
el('span', {}, ['Frontend Bundle Loaded']), el('span', {}, ['Frontend Bundle Loaded']),
]); ]);
var badgeRow = div('', { style: { marginBottom: '1rem' } }, [badge]); var badgeRow = div('', [badge]);
/* ── Test results summary ──────────────────────────────────── */ /* ── Test results summary ──────────────────────────────────── */
var testsData = [ var testsData = [