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", () => {
|
it("should be able to map ro_ to global user IDs", () => {
|
||||||
const params: RowSearchParams = {
|
const params: RowSearchParams = {
|
||||||
tableId: tableId,
|
tableId,
|
||||||
query: {
|
query: {
|
||||||
equal: {
|
equal: {
|
||||||
"1:user": userMedataId,
|
"1:user": userMedataId,
|
||||||
|
@ -61,7 +61,7 @@ describe.each([tableWithUserCol, tableWithUsersCol])(
|
||||||
|
|
||||||
it("should handle array of user IDs", () => {
|
it("should handle array of user IDs", () => {
|
||||||
const params: RowSearchParams = {
|
const params: RowSearchParams = {
|
||||||
tableId: tableId,
|
tableId,
|
||||||
query: {
|
query: {
|
||||||
oneOf: {
|
oneOf: {
|
||||||
"1:user": [userMedataId, globalUserId],
|
"1:user": [userMedataId, globalUserId],
|
||||||
|
@ -78,7 +78,7 @@ describe.each([tableWithUserCol, tableWithUsersCol])(
|
||||||
it("shouldn't change any other input", () => {
|
it("shouldn't change any other input", () => {
|
||||||
const email = "test@example.com"
|
const email = "test@example.com"
|
||||||
const params: RowSearchParams = {
|
const params: RowSearchParams = {
|
||||||
tableId: tableId,
|
tableId,
|
||||||
query: {
|
query: {
|
||||||
equal: {
|
equal: {
|
||||||
"1:user": email,
|
"1:user": email,
|
||||||
|
|
Loading…
Reference in New Issue