diff --git a/e2e/team.spec.ts b/e2e/team.spec.ts index 4b06d9b..ef10305 100644 --- a/e2e/team.spec.ts +++ b/e2e/team.spec.ts @@ -1,4 +1,4 @@ -import { test, expect, Locator } from '@playwright/test'; +import { test, expect, Locator } from '@playwright/test' /** Verifies visibility of the name, title, and photo * @@ -43,7 +43,7 @@ test('shows the team in English', async ({ page }) => { await expect(annLink).toHaveRole('link') await expect(annLink).toHaveAttribute('href', 'https://annkilzer.net') await expect(annLink).toHaveAttribute('target', '_blank') -}); +}) test('shows the team in Japanese', async ({ page }) => { await page.goto('/#/team') @@ -57,7 +57,7 @@ test('shows the team in Japanese', async ({ page }) => { const teamContainer = page.getByLabel('team-container') // click off to close sidebar - await teamContainer.click({ force: true }); + await teamContainer.click({ force: true }) const heading = teamContainer.getByText('✨ リーダーシップ・チーム ✨') await expect(heading).toBeVisible() diff --git a/src/components/SideDrawer/DrawerContents.tsx b/src/components/SideDrawer/DrawerContents.tsx index 8b0ae6d..e21c398 100644 --- a/src/components/SideDrawer/DrawerContents.tsx +++ b/src/components/SideDrawer/DrawerContents.tsx @@ -11,7 +11,7 @@ import { useTranslation } from 'react-i18next' const DrawerContents: FC = () => { const theme = useTheme() - const { t } = useTranslation(); + const { t } = useTranslation() let navList = <> if (useMediaQuery(theme.breakpoints.down('sm'))) { navList = (<> diff --git a/src/components/TeamMemberCard/TeamMemberCard.tsx b/src/components/TeamMemberCard/TeamMemberCard.tsx index e6dba98..9c90540 100644 --- a/src/components/TeamMemberCard/TeamMemberCard.tsx +++ b/src/components/TeamMemberCard/TeamMemberCard.tsx @@ -1,5 +1,5 @@ import { FC, useEffect, useState } from 'react' -import Card from '@mui/material/Card'; +import Card from '@mui/material/Card' import CardContent from '@mui/material/CardContent' import CardMedia from '@mui/material/CardMedia' import Typography from '@mui/material/Typography' diff --git a/src/routes/Team/__test__/Team.test.tsx b/src/routes/Team/__test__/Team.test.tsx index efd4205..dc16a51 100644 --- a/src/routes/Team/__test__/Team.test.tsx +++ b/src/routes/Team/__test__/Team.test.tsx @@ -1,7 +1,7 @@ import { describe, expect, it } from 'vitest' import { render } from '@/tests/customRender' import { screen } from '@testing-library/react' -import Team from '../Team'; +import Team from '../Team' describe('Team', () => { it('should render the Team page', async () => { @@ -9,4 +9,4 @@ describe('Team', () => { const title = await screen.findByText('✨ Leadership Team ✨') expect(title).toBeVisible() }) -}); +})