hensei-web/src
Justin Edmund c2329c2f7f fix: Phase 7b - suppress MSW optional dependency errors (34 -> 32 errors)
Fixed TypeScript errors for optional MSW (Mock Service Worker) test dependency.

MSW is intentionally optional - tests work with or without it. The dynamic
imports are wrapped in try-catch to gracefully handle when MSW is not installed.

Added @ts-expect-error comments to suppress TypeScript module resolution errors
for the optional dynamic imports, while maintaining the runtime fallback behavior.

Changes:
- src/lib/api/adapters/test-setup.ts:
  - Added @ts-expect-error for 'msw/node' dynamic import
  - Added @ts-expect-error for 'msw' dynamic import
  - Preserves optional dependency pattern

Result: 34 → 32 errors (-2)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 19:56:51 -08:00
..
assets/icons add context menu ui components and i18n 2025-09-30 03:42:14 -07:00
lib fix: Phase 7b - suppress MSW optional dependency errors (34 -> 32 errors) 2025-11-28 19:56:51 -08:00
routes fix: Phase 5 - fix environment variable imports (38 -> 37 errors) 2025-11-28 19:33:15 -08:00
themes add active unit highlighting with element focus rings 2025-11-28 11:04:04 -08:00
app.d.ts add auth store and update auth flow 2025-09-23 22:09:14 -07:00
app.html Init Svelte migration repo 2025-09-08 13:43:09 -07:00
app.scss update app styles 2025-09-25 00:26:50 -07:00
demo.spec.ts Init Svelte migration repo 2025-09-08 13:43:09 -07:00
hooks.server.ts add auth store and update auth flow 2025-09-23 22:09:14 -07:00
hooks.ts Init Svelte migration repo 2025-09-08 13:43:09 -07:00