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

fix(testing/time): use real Date in FakeTime #3414

Merged
merged 1 commit into from
Jun 10, 2023

Conversation

lucacasonato
Copy link
Member

Using a real Date objects means that structured cloning works correctly.
Now, only the constructor is replaced, not the actual created object.

Fixes #3413

Using a real Date objects means that structured cloning works correctly.
Now, only the constructor is replaced, not the actual created object.
@lucacasonato lucacasonato requested a review from kt3k as a code owner May 31, 2023 09:24
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM!

@FredslundMagnus
Copy link

Anything I can do to help with getting this merged? Docs?

@kt3k kt3k merged commit 7e67e26 into denoland:main Jun 10, 2023
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.

Deno kv faketime
3 participants