Prettier
parent
5e4a60f96d
commit
2a77a3b776
|
@ -59,14 +59,26 @@ describe('Kapacitor.Containers.KapacitorRules', () => {
|
||||||
.dive()
|
.dive()
|
||||||
.find('tbody')
|
.find('tbody')
|
||||||
.children()
|
.children()
|
||||||
.map(child => child.dive().find({type: 'checkbox'}).props().id)
|
.map(
|
||||||
|
child =>
|
||||||
|
child
|
||||||
|
.dive()
|
||||||
|
.find({type: 'checkbox'})
|
||||||
|
.props().id
|
||||||
|
)
|
||||||
|
|
||||||
const tasksTableIDs = wrapper
|
const tasksTableIDs = wrapper
|
||||||
.find(TasksTable)
|
.find(TasksTable)
|
||||||
.dive()
|
.dive()
|
||||||
.find('tbody')
|
.find('tbody')
|
||||||
.children()
|
.children()
|
||||||
.map(child => child.dive().find({type: 'checkbox'}).props().id)
|
.map(
|
||||||
|
child =>
|
||||||
|
child
|
||||||
|
.dive()
|
||||||
|
.find({type: 'checkbox'})
|
||||||
|
.props().id
|
||||||
|
)
|
||||||
|
|
||||||
const allCheckboxesIDs = kapacitorRulesTableRowsIDs.concat(tasksTableIDs)
|
const allCheckboxesIDs = kapacitorRulesTableRowsIDs.concat(tasksTableIDs)
|
||||||
|
|
||||||
|
@ -83,14 +95,26 @@ describe('Kapacitor.Containers.KapacitorRules', () => {
|
||||||
.dive()
|
.dive()
|
||||||
.find('tbody')
|
.find('tbody')
|
||||||
.children()
|
.children()
|
||||||
.map(child => child.dive().find('label').props().htmlFor)
|
.map(
|
||||||
|
child =>
|
||||||
|
child
|
||||||
|
.dive()
|
||||||
|
.find('label')
|
||||||
|
.props().htmlFor
|
||||||
|
)
|
||||||
|
|
||||||
const tasksTableLabelFors = wrapper
|
const tasksTableLabelFors = wrapper
|
||||||
.find(TasksTable)
|
.find(TasksTable)
|
||||||
.dive()
|
.dive()
|
||||||
.find('tbody')
|
.find('tbody')
|
||||||
.children()
|
.children()
|
||||||
.map(child => child.dive().find('label').props().htmlFor)
|
.map(
|
||||||
|
child =>
|
||||||
|
child
|
||||||
|
.dive()
|
||||||
|
.find('label')
|
||||||
|
.props().htmlFor
|
||||||
|
)
|
||||||
|
|
||||||
const allCheckboxesLabelFors = kapacitorRulesTableRowsLabelFors.concat(
|
const allCheckboxesLabelFors = kapacitorRulesTableRowsLabelFors.concat(
|
||||||
tasksTableLabelFors
|
tasksTableLabelFors
|
||||||
|
|
Loading…
Reference in New Issue