mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-17 14:30:34 +08:00
chore(blocksAntd): Update CheckboxSwitch tests.
This commit is contained in:
parent
089150eacc
commit
363311f01a
@ -8,15 +8,6 @@
|
||||
type: CheckboxSwitch
|
||||
properties:
|
||||
description: Option 2
|
||||
- id: 'properties.description-number'
|
||||
type: CheckboxSwitch
|
||||
properties:
|
||||
description: 20
|
||||
- id: 'properties.description-object'
|
||||
type: CheckboxSwitch
|
||||
properties:
|
||||
description:
|
||||
two: one
|
||||
- id: 'properties.color_red'
|
||||
type: CheckboxSwitch
|
||||
properties:
|
||||
|
@ -230,100 +230,6 @@ Array [
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Mock render - properties.description-number - value[0] - default 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"checked": false,
|
||||
"children": <RenderHtml
|
||||
html={20}
|
||||
methods={
|
||||
Object {
|
||||
"makeCssClass": [MockFunction] {
|
||||
"calls": Array [
|
||||
Array [
|
||||
Array [
|
||||
undefined,
|
||||
Object {
|
||||
"marginRight": "30px",
|
||||
},
|
||||
undefined,
|
||||
],
|
||||
],
|
||||
],
|
||||
"results": Array [
|
||||
Object {
|
||||
"type": "return",
|
||||
"value": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}",
|
||||
},
|
||||
],
|
||||
},
|
||||
"registerEvent": [Function],
|
||||
"registerMethod": [Function],
|
||||
"setValue": [Function],
|
||||
"triggerEvent": [Function],
|
||||
}
|
||||
}
|
||||
/>,
|
||||
"className": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}",
|
||||
"disabled": undefined,
|
||||
"id": "properties.description-number_input",
|
||||
"onChange": [Function],
|
||||
},
|
||||
Object {},
|
||||
],
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Mock render - properties.description-object - value[0] - default 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
"checked": false,
|
||||
"children": <RenderHtml
|
||||
html={
|
||||
Object {
|
||||
"two": "one",
|
||||
}
|
||||
}
|
||||
methods={
|
||||
Object {
|
||||
"makeCssClass": [MockFunction] {
|
||||
"calls": Array [
|
||||
Array [
|
||||
Array [
|
||||
undefined,
|
||||
Object {
|
||||
"marginRight": "30px",
|
||||
},
|
||||
undefined,
|
||||
],
|
||||
],
|
||||
],
|
||||
"results": Array [
|
||||
Object {
|
||||
"type": "return",
|
||||
"value": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}",
|
||||
},
|
||||
],
|
||||
},
|
||||
"registerEvent": [Function],
|
||||
"registerMethod": [Function],
|
||||
"setValue": [Function],
|
||||
"triggerEvent": [Function],
|
||||
}
|
||||
}
|
||||
/>,
|
||||
"className": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}",
|
||||
"disabled": undefined,
|
||||
"id": "properties.description-object_input",
|
||||
"onChange": [Function],
|
||||
},
|
||||
Object {},
|
||||
],
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Mock render - properties.description-string - value[0] - default 1`] = `
|
||||
Array [
|
||||
Array [
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user