-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
test(utils): Switch to using vitest #12959
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
Conversation
size-limit report 📦
|
21f806e
to
3e8f9cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to break browsertests bc of of the global crypto object? 🤔
Other than that looks good, thanks for updating these!
Yes need to figure out a better way to test these 🤔 |
3e8f9cd
to
d1b625a
Compare
7e897f3
to
76e92d0
Compare
We actually can't merge this because |
Before:
Time: 4.86 s, estimated 7 s
After:
Duration 1.92s (transform 2.05s, setup 1ms, collect 6.55s, tests 499ms, environment 762ms, prepare 3.65s)
ref #11084
Also:
array.prototype.flat
polyfill which we no longer require because we support Node 14.18+packages/utils/test/object.test.ts
that was blocked by a jest bug