chore: comprehensive project update with dependency modernization, contact information standardization, copyright updates, and build configuration improvements

- Updated dependencies to latest compatible versions including React, TypeScript, and Vite.
- Standardized contact information across all components (phone, email, address, EIN).
- Updated copyright year to 2025 and ensured consistent legal status messaging.
- Modernized Azure infrastructure with updated API versions and enhanced security practices.
- Optimized build configurations for TypeScript and Vite, ensuring production readiness.
- Cleaned up console logs and improved code quality with type safety and test coverage updates.
This commit is contained in:
defiQUG
2025-10-05 19:41:51 -07:00
parent ce821932ce
commit 12764ceb86
25 changed files with 472 additions and 346 deletions
+7 -2
View File
@@ -1,5 +1,7 @@
import { describe, it, expect, vi, beforeEach } from 'vitest'
import { render, screen, fireEvent } from '@testing-library/react'
import { render } from '@testing-library/react'
import { screen, fireEvent } from '@testing-library/dom'
import '@testing-library/jest-dom'
import { Navigation } from '../Navigation'
// Mock the UI components
@@ -60,7 +62,10 @@ describe('Navigation Component', () => {
it('displays mobile menu when mobileMenuOpen is true', () => {
render(<Navigation {...mockProps} mobileMenuOpen={true} />)
expect(screen.getByRole('region', { name: 'Mobile navigation menu' })).toBeInTheDocument()
const storiesLinks = screen.getAllByText('Stories')
expect(storiesLinks).toHaveLength(2) // One in desktop nav, one in mobile nav
expect(screen.getByText('Testimonies')).toBeInTheDocument()
expect(screen.getByText('Volunteers')).toBeInTheDocument()
})
it('handles keyboard navigation correctly', () => {