Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Prepare the real setup destination before Login recovery assertions

pulse-triage[bot]484e5e8f071a
diff --git a/frontend-modern/src/components/__tests__/Login.test.tsx b/frontend-modern/src/components/__tests__/Login.test.tsx
index aff20b97a5..f3a181302a 100644
--- a/frontend-modern/src/components/__tests__/Login.test.tsx
+++ b/frontend-modern/src/components/__tests__/Login.test.tsx
@@ -1,6 +1,9 @@
import { afterEach, describe, expect, it, vi, beforeEach } from 'vitest';
import { cleanup, fireEvent, render, screen, waitFor } from '@solidjs/testing-library';
import { Login } from '@/components/Login';
+// Compile the real lazy destination before timed assertions; do not mock setup
+// or make module transformation part of the read-recovery deadline.
+import '@/components/SetupWizard';
import loginSource from '@/components/Login.tsx?raw';
import { SESSION_STORAGE_KEYS, STORAGE_KEYS } from '@/utils/localStorage';