Fix
This commit is contained in:
parent
ab31d90de8
commit
afaa0a70a9
|
@ -130,18 +130,16 @@ describe("datasourceUtils", () => {
|
||||||
searchTerm
|
searchTerm
|
||||||
)
|
)
|
||||||
|
|
||||||
expect(result).toEqual(
|
expect(result).toEqual([
|
||||||
expect.arrayContaining([
|
expect.objectContaining({
|
||||||
expect.objectContaining({
|
_id: internalTables._id,
|
||||||
_id: internalTables._id,
|
show: true,
|
||||||
show: true,
|
}),
|
||||||
}),
|
expect.objectContaining({
|
||||||
expect.objectContaining({
|
_id: pgDatasource._id,
|
||||||
_id: pgDatasource._id,
|
show: true,
|
||||||
show: false,
|
}),
|
||||||
}),
|
])
|
||||||
])
|
|
||||||
)
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue