diff --git a/packages/web-react/src/components/Toast/__tests__/ToastBarLink.test.tsx b/packages/web-react/src/components/Toast/__tests__/ToastBarLink.test.tsx index 118033bac1..4053bcf35c 100644 --- a/packages/web-react/src/components/Toast/__tests__/ToastBarLink.test.tsx +++ b/packages/web-react/src/components/Toast/__tests__/ToastBarLink.test.tsx @@ -11,14 +11,14 @@ describe('ToastBarLink', () => { restPropsTest(ToastBarLink, 'a'); beforeEach(() => { - render(Example action); + render(Example action); }); it('should render with correct href', () => { const element = screen.getByRole('link'); expect(element).toBeInTheDocument(); - expect(element).toHaveAttribute('href', 'example-href'); + expect(element).toHaveAttribute('href', '#example-href'); }); it('should render children', () => {