Remove anys on tests

This commit is contained in:
Adria Navarro 2023-10-11 14:08:03 +02:00
parent c3bfc0d118
commit 1bfde57391
1 changed files with 3 additions and 4 deletions

View File

@ -1567,16 +1567,15 @@ describe.each([
(): Record<string, FieldSchema> => ({
user: {
name: "user",
relationshipType: RelationshipType.ONE_TO_MANY,
type: FieldType.BB_REFERENCE,
subtype: FieldTypeSubtypes.BB_REFERENCE.USER,
} as any,
},
users: {
name: "users",
type: FieldType.BB_REFERENCE,
subtype: FieldTypeSubtypes.BB_REFERENCE.USER,
relationshipType: RelationshipType.MANY_TO_MANY,
} as any,
// TODO: users when all merged
},
}),
() => config.createUser(),
(row: Row) => ({