2018-05-18 02:10:17 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Modal render correctly 1`] = `
|
|
|
|
<div>
|
2018-05-18 06:30:17 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<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;">
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelStart</div>
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-modal-content"><button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-modal-body">Here is content of Modal</div>
|
|
|
|
<div class="ant-modal-footer">
|
2018-09-05 13:58:32 +00:00
|
|
|
<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>
|
2018-05-18 06:30:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelEnd</div>
|
2018-05-18 06:30:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-18 02:10:17 +00:00
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Modal render correctly 2`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<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;">
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelStart</div>
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-modal-content"><button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-modal-body">Here is content of Modal</div>
|
|
|
|
<div class="ant-modal-footer">
|
2018-09-05 13:58:32 +00:00
|
|
|
<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>
|
2018-05-18 02:10:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelEnd</div>
|
2018-05-18 02:10:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Modal render without footer 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div>
|
2018-09-05 13:28:54 +00:00
|
|
|
<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;">
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelStart</div>
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-modal-content"><button aria-label="Close" class="ant-modal-close"><span class="ant-modal-close-x"></span></button>
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-modal-body">Here is content of Modal</div>
|
|
|
|
</div>
|
2018-10-30 13:19:31 +00:00
|
|
|
<div tabindex="0" style="width: 0px; height: 0px; overflow: hidden;">sentinelEnd</div>
|
2018-05-18 02:10:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
`;
|