All files / realm/blong-access/browser/orchestrator/component accessTestRun.ts

47.61% Statements 10/21
100% Branches 0/0
0% Functions 0/1
47.61% Lines 10/21

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221x 1x 1x 1x 1x 1x 1x 1x 1x 1x                        
import {handler} from '@feasibleone/blong';
 
/**
 * `access.test.run` — the Test runs page.
 *
 * The page lazy-loads from `src/pages/` so the Node tap runner can load this handler without
 * resolving `.tsx`. The menu item is declared only in the `test-ui` config block of
 * `index.browser.ts`, so a normal access portal does not link to it.
 */
export default handler(function accessTestRun() {
    return {
        'access.test.run': async () => ({
            title: 'Test runs',
            icon: 'pi pi-play',
            component: async () => {
                const {AccessTestRunPage} = await import('../../../src/pages/accessTestRunPage.js');
                return AccessTestRunPage;
            },
        }),
    };
});