Skip to content

Commit 3810b0b

Browse files
committed
test: update list & spin snapshots
1 parent 6aa8d3e commit 3810b0b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

components/list/__tests__/__snapshots__/demo.test.js.snap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ exports[`renders ./components/list/demo/grid.md correctly 1`] = `
123123
exports[`renders ./components/list/demo/infinite-load.md correctly 1`] = `
124124
<div infinite-scroll-distance="10" class="demo-infinite-container">
125125
<div class="ant-list ant-list-split">
126-
<div class="ant-spin ant-spin-show-text"><span class="ant-spin-dot"><i></i><i></i><i></i><i></i></span></div>
126+
<div class="ant-spin-nested-loading">
127+
<div class="ant-spin-container">
128+
<div class="ant-list-empty-text">No data</div>
129+
</div>
130+
</div>
127131
</div>
128132
</div>
129133
`;

components/spin/__tests__/__snapshots__/demo.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports[`renders ./components/spin/demo/basic.md correctly 1`] = `
99
exports[`renders ./components/spin/demo/custom-indicator.md correctly 1`] = `
1010
<div>
1111
<div class="ant-spin ant-spin-spinning ant-spin-show-text">
12-
<i class="anticon anticon-loading anticon-spin" style="font-size: 24px;"></i>
12+
<i class="anticon anticon-loading anticon-spin ant-spin-dot" style="font-size: 24px;"></i>
1313
</div>
1414
</div>
1515
`;

0 commit comments

Comments
 (0)