-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
landing-pageLanding page project tasksLanding page project taskspriority:mediumMedium priorityMedium prioritytest
Description
Problem
apps/landing-page/vitest.config.ts:21-26 coverage include is missing components/**, sections/**, and i18n/**.
Current Coverage Scope
widgets/**/*.{ts,tsx}✅app/**/*.{ts,tsx}✅hooks/**/*.ts✅lib/**/*.ts✅components/**/*.{ts,tsx}❌ (Header, Footer, CookieConsent, etc.)sections/**/*.{ts,tsx}❌ (Hero, Problem, Solution, FAQ)i18n/**/*.ts❌
Affected Files
apps/landing-page/vitest.config.ts(lines 21-26)
Solution
include: [
'widgets/**/*.{ts,tsx}',
'app/**/*.{ts,tsx}',
'hooks/**/*.ts',
'lib/**/*.ts',
'components/**/*.{ts,tsx}', // add
'sections/**/*.{ts,tsx}', // add
'i18n/**/*.ts', // add
],
exclude: [
'**/*.spec.{ts,tsx}',
'**/*.test.{ts,tsx}',
'components/ui/**', // exclude shadcn/ui
],Testing
- Run
vitest --coverageand verify components, sections, i18n appear in report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
landing-pageLanding page project tasksLanding page project taskspriority:mediumMedium priorityMedium prioritytest