Skip to content
Permalink
a99ba37e0b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (9 sloc) 345 Bytes
import { render } from '@testing-library/react';
import React from 'react'
import SkipToMainContentLink from './index';
describe('SkipToMainContentLink', () => {
it('should render successfully', () => {
const { baseElement } = render(<SkipToMainContentLink skipTo='main:first-of-type' />);
expect(baseElement).toBeTruthy();
});
});