浏览代码

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={[]} />));
+  });
+});