mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-17 14:30:34 +08:00
fix(blocksAntd): Update Card block snapshot tests.
This commit is contained in:
parent
60074f991d
commit
4c67f41f42
@ -94,41 +94,7 @@ Array [
|
||||
"hoverable": undefined,
|
||||
"id": "default",
|
||||
"size": undefined,
|
||||
"title": <RenderHtml
|
||||
methods={
|
||||
Object {
|
||||
"makeCssClass": [MockFunction] {
|
||||
"calls": Array [
|
||||
Array [
|
||||
undefined,
|
||||
Object {
|
||||
"styleObjectOnly": true,
|
||||
},
|
||||
],
|
||||
Array [
|
||||
undefined,
|
||||
Object {
|
||||
"styleObjectOnly": true,
|
||||
},
|
||||
],
|
||||
],
|
||||
"results": Array [
|
||||
Object {
|
||||
"type": "return",
|
||||
"value": "{\\"options\\":{\\"styleObjectOnly\\":true}}",
|
||||
},
|
||||
Object {
|
||||
"type": "return",
|
||||
"value": "{\\"options\\":{\\"styleObjectOnly\\":true}}",
|
||||
},
|
||||
],
|
||||
},
|
||||
"registerEvent": [Function],
|
||||
"registerMethod": [Function],
|
||||
"triggerEvent": [Function],
|
||||
}
|
||||
}
|
||||
/>,
|
||||
"title": undefined,
|
||||
"type": null,
|
||||
},
|
||||
Object {},
|
||||
|
@ -58,22 +58,6 @@ exports[`Render default - value[0] 1`] = `
|
||||
className="ant-card ant-card-bordered"
|
||||
id="default"
|
||||
>
|
||||
<div
|
||||
className="ant-card-head"
|
||||
style="{\\"options\\":{\\"styleObjectOnly\\":true}}"
|
||||
>
|
||||
<div
|
||||
className="ant-card-head-wrapper"
|
||||
>
|
||||
<div
|
||||
className="ant-card-head-title"
|
||||
>
|
||||
<div
|
||||
className="{\\"style\\":[{\\"display\\":\\"inline-block\\"},null]}"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
className="ant-card-body"
|
||||
style="{\\"options\\":{\\"styleObjectOnly\\":true}}"
|
||||
|
Loading…
Reference in New Issue
Block a user