diff --git a/frontend/vite.config.mts b/frontend/vite.config.mts index 8f0c781a..5e946265 100644 --- a/frontend/vite.config.mts +++ b/frontend/vite.config.mts @@ -1,9 +1,10 @@ import { sveltekit } from '@sveltejs/kit/vite'; +import { svelteTesting } from '@testing-library/svelte/vite'; import { defineConfig } from 'vite'; import path from 'path'; export default defineConfig({ - plugins: [sveltekit()], + plugins: [sveltekit(), svelteTesting()], server: { port: 5173, host: '0.0.0.0', diff --git a/openspec/changes/headroom-foundation/tasks.md b/openspec/changes/headroom-foundation/tasks.md index eb8c2357..e5df95cf 100644 --- a/openspec/changes/headroom-foundation/tasks.md +++ b/openspec/changes/headroom-foundation/tasks.md @@ -492,9 +492,9 @@ - [x] 4.1.24 Write unit test: Redis caching for capacity (->todo) #### Component Tests (Frontend) -- [ ] 4.1.25 Write component test: CapacityCalendar displays month (skip) -- [ ] 4.1.26 Write component test: Availability editor toggles values (skip) -- [ ] 4.1.27 Write component test: CapacitySummary shows totals (skip) +- [x] 4.1.25 Write component test: CapacityCalendar displays month +- [x] 4.1.26 Write component test: Availability editor toggles values +- [x] 4.1.27 Write component test: CapacitySummary shows totals **Commit**: `test(capacity): Add pending tests for all planning scenarios`