TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kevinrodriguezmorales/siget/llms.txt
Use this file to discover all available pages before exploring further.
ng test command runs the Siget unit test suite using Vitest through the @angular/build:unit-test builder. Vitest is a fast, Vite-native test runner that integrates natively with the Angular build pipeline, providing instant feedback during development. The jsdom environment is included in the project’s dev dependencies to simulate a real browser DOM inside the Node.js test process.
Synopsis
Options
| Option | Type | Default | Description |
|---|---|---|---|
--watch | boolean | true in dev | Run tests in watch mode, re-running on file changes |
--include | string[] | — | Glob patterns selecting which test files to include |
--exclude | string[] | — | Glob patterns for test files to exclude |
Examples
Test Builder
Siget’stest architect target in angular.json uses @angular/build:unit-test:
*.spec.ts files throughout the src/ tree. No additional configuration file is required — the Angular build system wires up the TypeScript compiler and jsdom environment for you.
Siget uses Vitest ^4.0.8 (declared in
devDependencies) together with jsdom ^28.0.0. jsdom provides a simulated browser DOM so components that rely on browser APIs can be tested without launching a real browser.