Skip to content

Commit

Permalink
feat: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yeyusen committed Jan 13, 2022
1 parent d32041e commit aa54e95
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
14 changes: 0 additions & 14 deletions components/list/__tests__/__snapshots__/demo-extend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1122,20 +1122,6 @@ exports[`renders ./components/list/demo/infinite-load.md extend context correctl
</div>
`;

exports[`renders ./components/list/demo/infinite-virtualized-load.md extend context correctly 1`] = `
<div
class="ant-list ant-list-split"
>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
/>
</div>
</div>
`;

exports[`renders ./components/list/demo/loadmore.md extend context correctly 1`] = `
<div
class="ant-list ant-list-split ant-list-loading demo-loadmore-list"
Expand Down
14 changes: 0 additions & 14 deletions components/list/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1122,20 +1122,6 @@ exports[`renders ./components/list/demo/infinite-load.md correctly 1`] = `
</div>
`;

exports[`renders ./components/list/demo/infinite-virtualized-load.md correctly 1`] = `
<div
class="ant-list ant-list-split"
>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
/>
</div>
</div>
`;

exports[`renders ./components/list/demo/loadmore.md correctly 1`] = `
<div
class="ant-list ant-list-split ant-list-loading demo-loadmore-list"
Expand Down
2 changes: 1 addition & 1 deletion components/message/__tests__/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('message.config', () => {
message.info('last');
expect(document.querySelectorAll('.ant-message-notice')).toHaveLength(0);
expect(document.querySelectorAll('.prefix-test-message-notice')).toHaveLength(1);
expect(document.querySelectorAll('.anticon-information-filled')).toHaveLength(1);
expect(document.querySelectorAll('.bamboo-information-filled')).toHaveLength(1);
ConfigProvider.config({ prefixCls: 'ant', iconPrefixCls: null });
});
it('should be able to config prefixCls', () => {
Expand Down

0 comments on commit aa54e95

Please sign in to comment.