- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
862 B
862 B
@vitest/ui
This package is for UI interface of Vitest.
Development Setup
At project root, create terminals with each of the following commands:
nr ui:dev
nr test --api
As the last command, you can use any of the available tests suites instead. Make sure that they run at 51204 port or specify a custom port with VITE_PORT environmental variable when running the first command. For example,
VITE_PORT=3200 nr ui:dev
nr test --api=3200
Open the browser at the URL printed by the first command. For example, http://localhost:5173/. If you see a connection error, it means the port is specified incorrectly.
To preview the browser tab, uncomment the "browser-dev-preview" plugin in vite.config.ts. To configure the browser state, update the __vitest_browser_runner__ object in browser.dev.js.