buildFileRejection = file => ({
  file,
  reason: faker.random.arrayElement(Object.values(FileRejectionReason)),
  message: faker.random.words()
})
Builds a `FileRejection` object for testing
@param {File} file
@returns {import('../file-uploader/src/utils/get-file-rejections').FileRejection}