ant-design-vue/components/modal/__tests__/__snapshots__/Modal.test.js.snap

74 lines
2.5 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Modal render correctly 1`] = `
<div>
2018-05-18 06:30:17 +00:00
<div>
<div>
<div class="ant-modal-mask"></div>
<div tabindex="-1" role="dialog" class="ant-modal-wrap ">
<div role="document" class="ant-modal" style="width: 520px;">
<div class="ant-modal-content">
<button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
<div class="ant-modal-body">Here is content of Modal</div>
<div class="ant-modal-footer">
<div>
<button type="button" class="ant-btn ant-btn-default"><span>Cancel</span></button>
<button type="button" class="ant-btn ant-btn-primary"><span>OK</span></button>
</div>
</div>
</div>
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinel</div>
</div>
</div>
</div>
</div>
<!---->
</div>
`;
exports[`Modal render correctly 2`] = `
<div>
<div>
<div>
<div class="ant-modal-mask"></div>
<div tabindex="-1" role="dialog" class="ant-modal-wrap ">
<div role="document" class="ant-modal" style="width: 520px;">
<div class="ant-modal-content">
<button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
<div class="ant-modal-body">Here is content of Modal</div>
<div class="ant-modal-footer">
<div>
<button type="button" class="ant-btn ant-btn-default"><span>Cancel</span></button>
<button type="button" class="ant-btn ant-btn-primary"><span>OK</span></button>
</div>
</div>
</div>
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinel</div>
</div>
</div>
</div>
</div>
<!---->
</div>
`;
exports[`Modal render without footer 1`] = `
<div>
<div>
<div>
<div class="ant-modal-mask"></div>
<div tabindex="-1" role="dialog" class="ant-modal-wrap ">
<div role="document" class="ant-modal" style="width: 520px;">
<div class="ant-modal-content">
<button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
<div class="ant-modal-body">Here is content of Modal</div>
</div>
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinel</div>
</div>
</div>
</div>
</div>
<!---->
</div>
`;