Rebrand and updated copyright date

This commit is contained in:
jackiettran
2025-12-22 22:35:57 -05:00
parent 955517347e
commit 07e5a2a320
48 changed files with 3729 additions and 3368 deletions

View File

@@ -133,7 +133,7 @@ describe('AuthModal', () => {
it('should render login form by default', () => {
const { container } = render(<AuthModal {...defaultProps} />);
expect(screen.getByText('Welcome to CommunityRentals.App')).toBeInTheDocument();
expect(screen.getByText('Welcome to Village Share')).toBeInTheDocument();
expect(getInputByLabelText(container, 'Email')).toBeInTheDocument();
expect(screen.getByTestId('password-input')).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Log in' })).toBeInTheDocument();
@@ -151,7 +151,7 @@ describe('AuthModal', () => {
it('should not render when show is false', () => {
render(<AuthModal {...defaultProps} show={false} />);
expect(screen.queryByText('Welcome to CommunityRentals.App')).not.toBeInTheDocument();
expect(screen.queryByText('Welcome to Village Share')).not.toBeInTheDocument();
});
it('should render Google login button', () => {

View File

@@ -68,13 +68,13 @@ describe('Navbar', () => {
it('should display the brand name', () => {
renderWithRouter(<Navbar />);
expect(screen.getByText('CommunityRentals.App')).toBeInTheDocument();
expect(screen.getByText('Village Share')).toBeInTheDocument();
});
it('should link brand to home page', () => {
renderWithRouter(<Navbar />);
const brandLink = screen.getByRole('link', { name: /CommunityRentals.App/i });
const brandLink = screen.getByRole('link', { name: /Village Share/i });
expect(brandLink).toHaveAttribute('href', '/');
});
});