You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating uuids doesn´t respect the seed and it is always random. Also, when I generate dates and reload the environment, the date generated respect the seed except by the seconds.
If for some reason it is not considered a bug, would be nice to have global option to use a strict mode.
After test using node, the uuid works fine, maybe the issue is when it runs in the browser or in StackBlitz.
The date issue is because the functions uses new Date(), I don´t now know if the best approach would implement some parameter or a global static timestamp.
I am having this exactly same behavior. Having a hard time getting the same uuid while using Jest. @MarioJuniorPro Do you manage to solved it? Thanks for any information!
@MarioJuniorPro@MarcoB-Ec I noticed that you are using @ngneat/falso@2.27 for some reason there.
The UUID seems to be working as expected after upgrading to the latest version.
Regarding randSoonDate, as you guys said it's based on new Date() so that would change between runs since it's not static by the seed.
Is this a regression?
Yes
Description
Generating uuids doesn´t respect the seed and it is always random. Also, when I generate dates and reload the environment, the date generated respect the seed except by the seconds.
If for some reason it is not considered a bug, would be nice to have global option to use a strict mode.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/typescript-sblpt9?file=index.ts
Please provide the exception or error you saw
Please provide the environment you discovered this bug in
Anything else?
No response
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: