new Date() instance of Date
should be true when using setSystemTime
#4579
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
When using setSystemTime, Date objects will not be instances of (the now mocked) Date.
Reproduction
https://stackblitz.com/edit/vitejs-vite-uwiefu?file=index.test.js
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: