♻️ refactor(contacts): update email

This commit is contained in:
2024-04-29 09:54:02 +02:00
parent b76701e302
commit b07858fca8
4 changed files with 4 additions and 4 deletions
@@ -22,7 +22,7 @@ describe('ContactPage', () => {
render(<ContactPage />)
await userEvent.click(screen.getByLabelText('Email button'))
expect(open).toHaveBeenCalledWith('mailto:michele.tartari+web@live.com', '_blank')
expect(open).toHaveBeenCalledWith('mailto:info@m-tartari.eu', '_blank')
})
test('opens the correct link when the LinkedIn button is clicked', async () => {
@@ -24,7 +24,7 @@ const ContactPage = () => {
</Typography>
<List>
<ListItem disablePadding>
<ListItemButton aria-label="Email button" onClick={() => window.open('mailto:michele.tartari+web@live.com', '_blank')}>
<ListItemButton aria-label="Email button" onClick={() => window.open('mailto:info@m-tartari.eu', '_blank')}>
<DraftsIcon fontSize="large" />
<Typography variant="h6" ml={2}>
michele.tartari+web