Browse Source

feat: update message snap

pull/2682/head
Amour1688 4 years ago
parent
commit
c0ed6b26cc
  1. 32
      components/message/__tests__/__snapshots__/demo.test.js.snap

32
components/message/__tests__/__snapshots__/demo.test.js.snap

@ -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