ant-design/components/back-top/__tests__/__snapshots__/demo-extend.test.ts.snap
二货机器人 2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00

48 lines
748 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/back-top/demo/basic.md extend context correctly 1`] = `
Array [
<div
class="ant-back-top"
/>,
"Scroll down to see the bottom-right",
<strong
class="site-back-top-basic"
>
gray
</strong>,
"button.",
]
`;
exports[`renders ./components/back-top/demo/custom.md extend context correctly 1`] = `
<div
style="height:600vh;padding:8px"
>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div>
Scroll to bottom
</div>
<div
class="ant-back-top"
/>
</div>
`;