Skip to content

Commit e98e9d1

Browse files
committed
test: message snap
1 parent 1425de3 commit e98e9d1

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed
Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,33 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`renders ./antdv-demo/docs/message/demo/duration.md correctly 1`] = `<button type="button" class="ant-btn"><span>Customized display duration</span></button>`;
3+
exports[`renders ./antdv-demo/docs/message/demo/duration.md correctly 1`] = `
4+
<button class="ant-btn" type="button">
5+
<!----><span>Customized display duration</span></button>
6+
`;
47

5-
exports[`renders ./antdv-demo/docs/message/demo/info.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Display normal message</span></button>`;
8+
exports[`renders ./antdv-demo/docs/message/demo/info.md correctly 1`] = `
9+
<button class="ant-btn ant-btn-primary" type="button">
10+
<!----><span>Display normal message</span></button>
11+
`;
612

7-
exports[`renders ./antdv-demo/docs/message/demo/loading.md correctly 1`] = `<button type="button" class="ant-btn"><span>Display a loading indicator</span></button>`;
13+
exports[`renders ./antdv-demo/docs/message/demo/loading.md correctly 1`] = `
14+
<button class="ant-btn" type="button">
15+
<!----><span>Display a loading indicator</span></button>
16+
`;
817

9-
exports[`renders ./antdv-demo/docs/message/demo/other.md correctly 1`] = `<div><button type="button" class="ant-btn"><span>Success</span></button> <button type="button" class="ant-btn"><span>Error</span></button> <button type="button" class="ant-btn"><span>Warning</span></button></div>`;
18+
exports[`renders ./antdv-demo/docs/message/demo/other.md correctly 1`] = `
19+
<div><button class="ant-btn" type="button">
20+
<!----><span>Success</span></button><button class="ant-btn" type="button">
21+
<!----><span>Error</span></button><button class="ant-btn" type="button">
22+
<!----><span>Warning</span></button></div>
23+
`;
1024

11-
exports[`renders ./antdv-demo/docs/message/demo/thenable.md correctly 1`] = `<button type="button" class="ant-btn"><span>Display a sequence of message</span></button>`;
25+
exports[`renders ./antdv-demo/docs/message/demo/thenable.md correctly 1`] = `
26+
<button class="ant-btn" type="button">
27+
<!----><span>Display a sequence of message</span></button>
28+
`;
1229

13-
exports[`renders ./antdv-demo/docs/message/demo/update.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Open the message box</span></button>`;
30+
exports[`renders ./antdv-demo/docs/message/demo/update.md correctly 1`] = `
31+
<button class="ant-btn ant-btn-primary" type="button">
32+
<!----><span>Open the message box</span></button>
33+
`;

0 commit comments

Comments
 (0)