test: affix snapshot

pull/2682/head
Amour1688 2020-08-13 10:51:53 +08:00
parent 2b5d587a00
commit 21af824ad1
1 changed files with 10 additions and 8 deletions

View File

@ -2,18 +2,19 @@
exports[`renders ./antdv-demo/docs/affix/demo/basic.md correctly 1`] = `
<div>
<div>
<div class=""><button type="button" class="ant-btn ant-btn-primary"><span>Affix top</span></button></div>
</div> <br>
<div>
<div class=""><button type="button" class="ant-btn ant-btn-primary"><span>Affix bottom</span></button></div>
</div>
<div class=""><button class="ant-btn ant-btn-primary" type="button">
<!----><span>Affix top</span></button></div>
</div><br>
<div>
<div class=""><button class="ant-btn ant-btn-primary" type="button">
<!----><span>Affix bottom</span></button></div>
</div>
`;
exports[`renders ./antdv-demo/docs/affix/demo/on-change.md correctly 1`] = `
<div>
<div class=""><button type="button" class="ant-btn"><span>120px to affix top</span></button></div>
<div class=""><button class="ant-btn" type="button">
<!----><span>120px to affix top</span></button></div>
</div>
`;
@ -21,7 +22,8 @@ exports[`renders ./antdv-demo/docs/affix/demo/target.md correctly 1`] = `
<div id="components-affix-demo-target" class="scrollable-container">
<div class="background">
<div>
<div class=""><button type="button" class="ant-btn ant-btn-primary"><span>Fixed at the top of container</span></button></div>
<div class=""><button class="ant-btn ant-btn-primary" type="button">
<!----><span>Fixed at the top of container</span></button></div>
</div>
</div>
</div>