2.2 KiB
2.2 KiB
> rentaldrivego-web@0.3.0 test:unit
> vitest run --coverage
RUN v4.1.9 /mnt/data/phase12_work/RentalDriveGo
Coverage enabled with v8
✓ tests/unit/theme.test.ts (2 tests) 4ms
✓ tests/unit/csp.test.ts (2 tests) 6ms
✓ tests/unit/format.test.ts (3 tests) 79ms
✓ tests/unit/localization.test.ts (5 tests) 9ms
✓ tests/unit/components/actions.test.tsx (3 tests) 234ms
✓ tests/unit/components/evidence.test.tsx (3 tests) 217ms
✓ tests/unit/components/forms.test.tsx (2 tests) 224ms
✓ tests/unit/components/controls.test.tsx (2 tests) 297ms
Test Files 8 passed (8)
Tests 22 passed (22)
Start at 22:37:18
Duration 9.12s (transform 2.44s, setup 7.11s, import 3.02s, tests 1.07s, environment 48.19s)
% Coverage report from v8
--------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
All files | 92.4 | 86.04 | 95.45 | 92.64 |
localization | 90.9 | 82.75 | 94.11 | 91.07 |
config.ts | 90.9 | 82.75 | 94.11 | 91.07 | 58,67,89,112,127
security | 100 | 100 | 100 | 100 |
csp.ts | 100 | 100 | 100 | 100 |
theme | 100 | 87.5 | 100 | 100 |
config.ts | 100 | 87.5 | 100 | 100 | 18
--------------|---------|----------|---------|---------|-------------------