// @vitest-environment jsdom import { describe, expect, it } from 'vitest'; import { createDashboardRoutes } from '../../apps/dashboard/src/app/router.js'; describe('dashboard route error boundary', () => { it('protects the application shell from route rendering failures', () => { const root = createDashboardRoutes()[0]; expect(root?.errorElement).toBeTruthy(); }); });