This commit is contained in:
Adria Navarro 2023-11-20 13:27:37 +01:00
parent ab31d90de8
commit afaa0a70a9
1 changed files with 10 additions and 12 deletions

View File

@ -130,18 +130,16 @@ describe("datasourceUtils", () => {
searchTerm
)
expect(result).toEqual(
expect.arrayContaining([
expect.objectContaining({
_id: internalTables._id,
show: true,
}),
expect.objectContaining({
_id: pgDatasource._id,
show: false,
}),
])
)
expect(result).toEqual([
expect.objectContaining({
_id: internalTables._id,
show: true,
}),
expect.objectContaining({
_id: pgDatasource._id,
show: true,
}),
])
})
})
})