Skip to content

Commit b26c493

Browse files
committed
test: update popover snap
1 parent 43c6528 commit b26c493

File tree

1 file changed

+57
-9
lines changed

1 file changed

+57
-9
lines changed
Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,68 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`renders ./antdv-demo/docs/popover/demo/arrow-point-at-center.md correctly 1`] = `<div><button type="button" class="ant-btn"><span>Align edge / 边缘对齐</span></button> <button type="button" class="ant-btn"><span>Arrow points to center / 箭头指向中心</span></button></div>`;
3+
exports[`renders ./antdv-demo/docs/popover/demo/arrow-point-at-center.md correctly 1`] = `
4+
<div>
5+
<!----><button class="ant-btn" type="button">
6+
<!----><span>Align edge / 边缘对齐</span></button>
7+
<!----><button class="ant-btn" type="button">
8+
<!----><span>Arrow points to center / 箭头指向中心</span></button></div>
9+
`;
410

5-
exports[`renders ./antdv-demo/docs/popover/demo/basic.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Hover me</span></button>`;
11+
exports[`renders ./antdv-demo/docs/popover/demo/basic.md correctly 1`] = `
12+
<!----><button class="ant-btn ant-btn-primary" type="button">
13+
<!----><span>Hover me</span></button>
14+
`;
615

7-
exports[`renders ./antdv-demo/docs/popover/demo/control.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Click me</span></button>`;
16+
exports[`renders ./antdv-demo/docs/popover/demo/control.md correctly 1`] = `
17+
<!----><button class="ant-btn ant-btn-primary" type="button">
18+
<!----><span>Click me</span></button>
19+
`;
820

9-
exports[`renders ./antdv-demo/docs/popover/demo/hover-with-click.md correctly 1`] = `<button type="button" class="ant-btn" style="width: 500px;"><span>Hover and click / 悬停并单击</span></button>`;
21+
exports[`renders ./antdv-demo/docs/popover/demo/hover-with-click.md correctly 1`] = `
22+
<!---->
23+
<!----><button class="ant-btn" type="button">
24+
<!----><span>Hover and click / 悬停并单击</span></button>
25+
`;
1026

1127
exports[`renders ./antdv-demo/docs/popover/demo/placement.md correctly 1`] = `
1228
<div id="components-popover-demo-placement">
13-
<div style="margin-left: 70px; white-space: nowrap;"><button type="button" class="ant-btn"><span>TL</span></button> <button type="button" class="ant-btn"><span>Top</span></button> <button type="button" class="ant-btn"><span>TR</span></button></div>
14-
<div style="width: 70px; float: left;"><button type="button" class="ant-btn"><span>LT</span></button> <button type="button" class="ant-btn"><span>Left</span></button> <button type="button" class="ant-btn"><span>LB</span></button></div>
15-
<div style="width: 70px; margin-left: 304px;"><button type="button" class="ant-btn"><span>RT</span></button> <button type="button" class="ant-btn"><span>Right</span></button> <button type="button" class="ant-btn"><span>RB</span></button></div>
16-
<div style="margin-left: 70px; clear: both; white-space: nowrap;"><button type="button" class="ant-btn"><span>BL</span></button> <button type="button" class="ant-btn"><span>Bottom</span></button> <button type="button" class="ant-btn"><span>BR</span></button></div>
29+
<div style="margin-left: 70px; white-space: nowrap;">
30+
<!----><button class="ant-btn" type="button">
31+
<!----><span>TL</span></button>
32+
<!----><button class="ant-btn" type="button">
33+
<!----><span>Top</span></button>
34+
<!----><button class="ant-btn" type="button">
35+
<!----><span>TR</span></button></div>
36+
<div style="width: 70px; float: left;">
37+
<!----><button class="ant-btn" type="button">
38+
<!----><span>LT</span></button>
39+
<!----><button class="ant-btn" type="button">
40+
<!----><span>Left</span></button>
41+
<!----><button class="ant-btn" type="button">
42+
<!----><span>LB</span></button></div>
43+
<div style="width: 70px; margin-left: 304px;">
44+
<!----><button class="ant-btn" type="button">
45+
<!----><span>RT</span></button>
46+
<!----><button class="ant-btn" type="button">
47+
<!----><span>Right</span></button>
48+
<!----><button class="ant-btn" type="button">
49+
<!----><span>RB</span></button></div>
50+
<div style="margin-left: 70px; clear: both; white-space: nowrap;">
51+
<!----><button class="ant-btn" type="button">
52+
<!----><span>BL</span></button>
53+
<!----><button class="ant-btn" type="button">
54+
<!----><span>Bottom</span></button>
55+
<!----><button class="ant-btn" type="button">
56+
<!----><span>BR</span></button></div>
1757
</div>
1858
`;
1959

20-
exports[`renders ./antdv-demo/docs/popover/demo/triggerType.md correctly 1`] = `<div><button type="button" class="ant-btn ant-btn-primary"><span>Hover me</span></button> <button type="button" class="ant-btn ant-btn-primary"><span>Focus me</span></button> <button type="button" class="ant-btn ant-btn-primary"><span>Click me</span></button></div>`;
60+
exports[`renders ./antdv-demo/docs/popover/demo/triggerType.md correctly 1`] = `
61+
<div>
62+
<!----><button class="ant-btn ant-btn-primary" type="button">
63+
<!----><span>Hover me</span></button>
64+
<!----><button class="ant-btn ant-btn-primary" type="button">
65+
<!----><span>Focus me</span></button>
66+
<!----><button class="ant-btn ant-btn-primary" type="button">
67+
<!----><span>Click me</span></button></div>
68+
`;

0 commit comments

Comments
 (0)