From fedfc214258726cf28b600ff8444668110a40856 Mon Sep 17 00:00:00 2001 From: Santhosh Janardhanan Date: Thu, 19 Feb 2026 23:32:27 -0500 Subject: [PATCH] closing capacity planning - normal mode. --- frontend/vite.config.mts | 3 ++- openspec/changes/headroom-foundation/tasks.md | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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`