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

Possible to mock? #14

Open
suntong opened this issue Oct 1, 2023 · 0 comments
Open

Possible to mock? #14

suntong opened this issue Oct 1, 2023 · 0 comments

Comments

@suntong
Copy link

suntong commented Oct 1, 2023

Is it possible to mock shortids?

The key feature of shortid is to guarantee its uniqueness, however for testing purpose, is it possible to return a fixed series each time I run my tests? thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant