Skip to content

Add unit tests on object record mutation and query hooks #4884

Closed
@lucasbordeau

Description

Scope & Context

We broke down useObjectMetadataItem hook into multiple unitary hooks for each query / mutation in this PR : #4861

Expected behavior

We need to have one unit test for each hook, here's the list, they're quite straightforward :

  • useCreateManyRecordsMutation
  • useCreateOneRecordMutation
  • useDeleteManyRecordsMutation
  • useDeleteOneRecordMutation
  • useExecuteQuickActionOnOneRecordMutation
  • useFindDuplicatesRecordsQuery
  • useFindManyRecordsQuery
  • useFindOneRecordQuery
  • useUpdateOneRecordMutation

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions