Skip to content

Conversation

@adamrefaey
Copy link
Collaborator

@adamrefaey adamrefaey commented Apr 16, 2025

Change

feat: Rename date field to createdAt in report mock data for consistency

Does this PR introduce a breaking change?

{...}

What needs to be documented once your changes are merged?

{...}

Additional Comments

{...}

@adamrefaey adamrefaey self-assigned this Apr 16, 2025
@adamrefaey adamrefaey requested a review from Copilot April 16, 2025 10:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames the property "date" to "createdAt" in report mock data for improved consistency.

  • Updated mock data in the Upload page tests
  • Updated mock data in the ReportItem tests

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/src/pages/Upload/tests/UploadPage.test.tsx Replaced 'date' with 'createdAt' in the report mock object
frontend/src/pages/Home/components/ReportItem/tests/ReportItem.test.tsx Replaced 'date' with 'createdAt' and removed unused properties from the mock object

@adamrefaey adamrefaey merged commit e9d9342 into main Apr 16, 2025
1 check passed
@adamrefaey adamrefaey deleted the NO-TICKET-TINY-FIXES branch April 16, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants