Collapse duplicated key names.
This commit is contained in:
parent
ec6fa5f79b
commit
ae8a864566
|
@ -48,7 +48,7 @@ describe.each([tableWithUserCol, tableWithUsersCol])(
|
|||
|
||||
it("should be able to map ro_ to global user IDs", () => {
|
||||
const params: RowSearchParams = {
|
||||
tableId: tableId,
|
||||
tableId,
|
||||
query: {
|
||||
equal: {
|
||||
"1:user": userMedataId,
|
||||
|
@ -61,7 +61,7 @@ describe.each([tableWithUserCol, tableWithUsersCol])(
|
|||
|
||||
it("should handle array of user IDs", () => {
|
||||
const params: RowSearchParams = {
|
||||
tableId: tableId,
|
||||
tableId,
|
||||
query: {
|
||||
oneOf: {
|
||||
"1:user": [userMedataId, globalUserId],
|
||||
|
@ -78,7 +78,7 @@ describe.each([tableWithUserCol, tableWithUsersCol])(
|
|||
it("shouldn't change any other input", () => {
|
||||
const email = "test@example.com"
|
||||
const params: RowSearchParams = {
|
||||
tableId: tableId,
|
||||
tableId,
|
||||
query: {
|
||||
equal: {
|
||||
"1:user": email,
|
||||
|
|
Loading…
Reference in New Issue