added tests. bs tests, but tests
This commit is contained in:
parent
c33e99b105
commit
1b18198022
7 changed files with 168 additions and 13 deletions
15
src/components/table/table.spec.tsx
Normal file
15
src/components/table/table.spec.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { describe, it, expect } from 'bun:test';
|
||||
import { render } from "@solidjs/testing-library"
|
||||
import { Table } from './table';
|
||||
import { createDataSet } from './dataset';
|
||||
|
||||
type TableItem = {};
|
||||
|
||||
// describe('<Table />', () => {
|
||||
// it('should render', async () => {
|
||||
// const dataset = createDataSet<TableItem>([]);
|
||||
// const result = render(() => <Table rows={dataset} columns={[]} />);
|
||||
|
||||
// expect(true).toBe(true);
|
||||
// });
|
||||
// });
|
Loading…
Add table
Add a link
Reference in a new issue