Skip to content

Commit 2f91e75

Browse files
authored
test(notification & table): 添加todo (#1138)
* feat: add coverage folder to .gitignore * test(notification & table): 添加测试todo项
1 parent 6f82416 commit 2f91e75

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ packages/devui-vue/devui/theme/theme.scss
1616
packages/devui-vue/docs/.vitepress/config/sidebar.ts
1717
packages/devui-vue/docs/.vitepress/config/enSidebar.ts
1818
.pnpm-debug.log
19+
coverage

packages/devui-vue/devui/notification/__tests__/notification.spec.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,6 @@ describe('d-notification', () => {
100100
notification = null;
101101
});
102102
});
103+
104+
it.todo('manual click close work well');
103105
});

packages/devui-vue/devui/table/__tests__/table.spec.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ describe('d-table', () => {
290290
expect(handleSortChange).toBeCalled();
291291
});
292292

293+
it.todo('filter multiple work well');
294+
293295
it('filter', async () => {
294296
const handleSingleChange = jest.fn();
295297
const wrapper = mount({
@@ -643,7 +645,6 @@ describe('d-table', () => {
643645
const wrapper = mount({
644646
setup() {
645647
const handleLoadMore = () => {
646-
647648
// TODO: add exception to test emit event(Jest don't have IntersectionObserver)
648649
// The 'intersection-observer' polyfill don't work in Jest env? It's just prevent error report in DTable.
649650
data.push({
@@ -674,4 +675,8 @@ describe('d-table', () => {
674675
expect(lazyEle.exists()).toBeTruthy();
675676
wrapper.unmount();
676677
});
678+
679+
it.todo('fix header work well');
680+
681+
it.todo('drag column work well');
677682
});

0 commit comments

Comments
 (0)