chore(blocksAntd): Update CheckboxSwitch tests.

This commit is contained in:
Gervwyk 2021-09-18 15:35:47 +02:00
parent 089150eacc
commit 363311f01a
3 changed files with 0 additions and 1073 deletions

View File

@ -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:

View File

@ -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 [