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

test(date): set static date #6512

Merged
merged 1 commit into from
Jan 7, 2025
Merged

test(date): set static date #6512

merged 1 commit into from
Jan 7, 2025

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jan 6, 2025

this way it doesn't need to be updated yearly. Follow up on #6511.

I checked and can't find a way to pass the current date for just one command and the date command requires sudo. Only other similar option I saw would be using jest directly, but then we're no longer testing the CLI.

this way it doesn't need to be updated yearly. Follow up on #6511
@Haroenv Haroenv requested a review from dhayab January 6, 2025 15:44
Copy link

codesandbox-ci bot commented Jan 6, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 317a84e:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv merged commit ddd709c into master Jan 7, 2025
15 checks passed
@Haroenv Haroenv deleted the chore/date-test-static branch January 7, 2025 12:26
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.

2 participants