소스 검색

add custom tab list component test

tumao 4 년 전
부모
커밋
5a2b0bfd15
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      client/src/components/__test__/customTabList/CustomTabList.spec.tsx

+ 9 - 0
client/src/components/__test__/customTabList/CustomTabList.spec.tsx

@@ -0,0 +1,9 @@
+import { render } from '@testing-library/react';
+import CustomTabList from '../../customTabList/CustomTabList';
+import provideTheme from '../utils/provideTheme';
+
+describe('test custom tab list component', () => {
+  it('renders default state', () => {
+    const container = render(provideTheme(<CustomTabList tabs={[]} />));
+  });
+});