mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
6770b7fb22
* test: update snapshot * test: use render * test: fix skip * test: fix skip
109 lines
1.7 KiB
Plaintext
109 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders components/affix/demo/basic.tsx extend context correctly 1`] = `
|
|
Array [
|
|
<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 components/affix/demo/debug.tsx extend context correctly 1`] = `
|
|
<div
|
|
style="height: 10000px;"
|
|
>
|
|
<div>
|
|
Top
|
|
</div>
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<div
|
|
style="background: red;"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button"
|
|
>
|
|
<span>
|
|
Affix top
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
Bottom
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders components/affix/demo/on-change.tsx extend context correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-default"
|
|
type="button"
|
|
>
|
|
<span>
|
|
120px to affix top
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders components/affix/demo/target.tsx extend context correctly 1`] = `
|
|
<div
|
|
class="scrollable-container"
|
|
>
|
|
<div
|
|
class="background"
|
|
>
|
|
<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>
|
|
`;
|