how to access a tag using jest code example
Example: jest expect href
expect(getByText('Click Me').closest('a')).toHaveAttribute('href', 'https://www.test.com/')
expect(getByText('Click Me').closest('a')).toHaveAttribute('href', 'https://www.test.com/')