feat(web): migrate dashboard to WidgetGrid with layout persistence #497

Merged
jason.woltje merged 2 commits from feat/ms18-widget-grid-migration into main 2026-02-24 00:50:25 +00:00
Showing only changes of commit 315b04e1b2 - Show all commits

View File

@@ -94,7 +94,11 @@ describe("DashboardPage", (): void => {
});
it("should show loading spinner initially", (): void => {
vi.mocked(layoutsApi.fetchDefaultLayout).mockReturnValue(new Promise(() => {}));
// Never-resolving promise to test loading state
vi.mocked(layoutsApi.fetchDefaultLayout).mockReturnValue(
// eslint-disable-next-line @typescript-eslint/no-empty-function -- intentionally never-resolving
new Promise(() => {})
);
render(<DashboardPage />);