test: message snap

pull/2682/head
tanjinzhou 4 years ago
parent 1425de31b7
commit e98e9d1153

@ -1,13 +1,33 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./antdv-demo/docs/message/demo/duration.md correctly 1`] = `<button type="button" class="ant-btn"><span>Customized display duration</span></button>`;
exports[`renders ./antdv-demo/docs/message/demo/duration.md correctly 1`] = `
<button class="ant-btn" type="button">
<!----><span>Customized display duration</span></button>
`;
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>`;
exports[`renders ./antdv-demo/docs/message/demo/info.md correctly 1`] = `
<button class="ant-btn ant-btn-primary" type="button">
<!----><span>Display normal message</span></button>
`;
exports[`renders ./antdv-demo/docs/message/demo/loading.md correctly 1`] = `<button type="button" class="ant-btn"><span>Display a loading indicator</span></button>`;
exports[`renders ./antdv-demo/docs/message/demo/loading.md correctly 1`] = `
<button class="ant-btn" type="button">
<!----><span>Display a loading indicator</span></button>
`;
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>`;
exports[`renders ./antdv-demo/docs/message/demo/other.md correctly 1`] = `
<div><button class="ant-btn" type="button">
<!----><span>Success</span></button><button class="ant-btn" type="button">
<!----><span>Error</span></button><button class="ant-btn" type="button">
<!----><span>Warning</span></button></div>
`;
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>`;
exports[`renders ./antdv-demo/docs/message/demo/thenable.md correctly 1`] = `
<button class="ant-btn" type="button">
<!----><span>Display a sequence of message</span></button>
`;
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>`;
exports[`renders ./antdv-demo/docs/message/demo/update.md correctly 1`] = `
<button class="ant-btn ant-btn-primary" type="button">
<!----><span>Open the message box</span></button>
`;

Loading…
Cancel
Save