ant-design-vue/components/divider/__tests__/__snapshots__/demo.test.js.snap

55 lines
4.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/divider/demo/customize-style.vue correctly 1`] = `
<div class="ant-divider ant-divider-horizontal" role="separator" style="height: 2px; background-color: rgb(124, 179, 5);">
<!---->
</div>
<div class="ant-divider ant-divider-horizontal ant-divider-dashed" role="separator" style="border-color: #7cb305;">
<!---->
</div>
<div class="ant-divider ant-divider-vertical" role="separator" style="height: 60px; background-color: rgb(124, 179, 5);">
<!---->
</div>
<div class="ant-divider ant-divider-vertical ant-divider-dashed" role="separator" style="height: 60px; border-color: #7cb305;">
<!---->
</div>
`;
exports[`renders ./components/divider/demo/horizontal.vue correctly 1`] = `
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal" role="separator">
<!---->
</div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center" role="separator"><span class="ant-divider-inner-text">With Text</span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-dashed" role="separator">
<!---->
</div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
`;
exports[`renders ./components/divider/demo/vertical.vue correctly 1`] = `
<div> Text <div class="ant-divider ant-divider-vertical" role="separator">
<!---->
</div><a href="#">Link</a>
<div class="ant-divider ant-divider-vertical" role="separator">
<!---->
</div><a href="#">Link</a>
</div>
`;
exports[`renders ./components/divider/demo/with-text.vue correctly 1`] = `
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-center" role="separator"><span class="ant-divider-inner-text">Text</span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left" role="separator"><span class="ant-divider-inner-text">Left Text</span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-right" role="separator"><span class="ant-divider-inner-text">Right Text</span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-no-default-orientation-margin-left ant-divider-with-text ant-divider-with-text-left" role="separator"><span class="ant-divider-inner-text" style="margin-left: 0px;"> Left Text with 0 orientationMargin </span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
<div class="ant-divider ant-divider-horizontal ant-divider-no-default-orientation-margin-right ant-divider-with-text ant-divider-with-text-right" role="separator"><span class="ant-divider-inner-text" style="margin-right: 50px;"> Right Text with 50px orientationMargin </span></div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. </p>
`;