Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix field date test case #2057

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

alicialics
Copy link
Contributor

@alicialics alicialics commented Nov 1, 2023

The basics

Share getLocaleDateString function between field_date and mocha tests

The details

Resolves

Fixes #2045

Proposed Changes

Instead of using a different way to formate locale date, using the same function as the field-date implementation

Reason for Changes

Fixes flaky test

Test Coverage

npm run test

Documentation

N/A

Additional Information

cc @cpcallen @maribethb

@alicialics alicialics requested a review from a team as a code owner November 1, 2023 05:15
@alicialics alicialics requested review from BeksOmega and removed request for a team November 1, 2023 05:15
Copy link
Contributor

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

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

This LGTM! Thank you for the fix @alicialics =)

@BeksOmega BeksOmega merged commit 39037d1 into google:master Nov 1, 2023
@alicialics alicialics deleted the fix_field_date_test branch November 1, 2023 17:48
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.

field-date tests are flaky
2 participants