#!/bin/bash # Install testing dependencies for SmoothSchedule frontend # Run this from the frontend directory echo "Installing vitest and testing dependencies..." npm install -D \ vitest@1.0.4 \ @vitest/ui@1.0.4 \ jsdom@23.0.1 \ @testing-library/react@14.1.2 \ @testing-library/jest-dom@6.1.5 \ @testing-library/user-event@14.5.1 \ msw@2.0.11 \ @types/jsdom@21.1.6 echo "" echo "✓ Dependencies installed successfully!" echo "" echo "Next steps:" echo "1. Update package.json scripts (see SETUP_TESTING.md)" echo "2. Run tests: npm run test" echo "" echo "For more information, see:" echo " - SETUP_TESTING.md - Quick setup guide" echo " - TESTING.md - Comprehensive testing guide" echo ""