Fix tests
This commit is contained in:
parent
d4b866b9bc
commit
1c5bab07aa
|
@ -1278,9 +1278,18 @@ describe.each([
|
||||||
schema: expect.objectContaining({
|
schema: expect.objectContaining({
|
||||||
aux: expect.objectContaining({
|
aux: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
name: { visible: true, readonly: true },
|
visible: false,
|
||||||
dob: { visible: true, readonly: true },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
name: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
dob: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
@ -1323,16 +1332,34 @@ describe.each([
|
||||||
schema: expect.objectContaining({
|
schema: expect.objectContaining({
|
||||||
aux: expect.objectContaining({
|
aux: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
name: { visible: true, readonly: true },
|
visible: false,
|
||||||
dob: { visible: true, readonly: true },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
name: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
dob: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
aux2: expect.objectContaining({
|
aux2: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
name: { visible: true, readonly: true },
|
visible: false,
|
||||||
dob: { visible: true, readonly: true },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
name: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
dob: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
@ -1375,16 +1402,34 @@ describe.each([
|
||||||
schema: expect.objectContaining({
|
schema: expect.objectContaining({
|
||||||
aux: expect.objectContaining({
|
aux: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
fullName: { visible: true, readonly: true },
|
visible: false,
|
||||||
age: { visible: false, readonly: false },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
fullName: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
age: expect.objectContaining({
|
||||||
|
visible: false,
|
||||||
|
readonly: false,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
aux2: expect.objectContaining({
|
aux2: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
name: { visible: true, readonly: true },
|
visible: false,
|
||||||
age: { visible: false, readonly: false },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
name: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
age: expect.objectContaining({
|
||||||
|
visible: false,
|
||||||
|
readonly: false,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
@ -1427,9 +1472,18 @@ describe.each([
|
||||||
schema: expect.objectContaining({
|
schema: expect.objectContaining({
|
||||||
aux: expect.objectContaining({
|
aux: expect.objectContaining({
|
||||||
columns: {
|
columns: {
|
||||||
id: { visible: false, readonly: false },
|
id: expect.objectContaining({
|
||||||
name: { visible: true, readonly: true },
|
visible: false,
|
||||||
dob: { visible: true, readonly: true },
|
readonly: false,
|
||||||
|
}),
|
||||||
|
name: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
|
dob: expect.objectContaining({
|
||||||
|
visible: true,
|
||||||
|
readonly: true,
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue