forked from sombochea/verdaccio-ui
fix: detailContainer Component - Replaced class by func. comp (#130)
* refactor: coverted class comp. into func.comp * refactor: added forward ref comp. * fix: fixed external link color * fix: fixed typo * refactor: applied feedbacks
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
28c982a7da
commit
f84fd79c5b
13
src/components/DetailContainer/DetailContainer.test.tsx
Normal file
13
src/components/DetailContainer/DetailContainer.test.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
import { render } from '@testing-library/react';
|
||||
|
||||
import DetailContainer from './DetailContainer';
|
||||
|
||||
describe('DetailContainer', () => {
|
||||
test('renders correctly', () => {
|
||||
const { container } = render(<DetailContainer />);
|
||||
expect(container.firstChild).toMatchSnapshot();
|
||||
});
|
||||
test.todo('should test click on tabs');
|
||||
});
|
||||
Reference in New Issue
Block a user