-
Notifications
You must be signed in to change notification settings - Fork 35
Vitest migration #1232
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
base: master
Are you sure you want to change the base?
Vitest migration #1232
Conversation
🦋 Changeset detectedLatest commit: a12e61d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
- name: Test | ||
run: aa-exec --profile=chrome pnpm run test && aa-exec --profile=chrome pnpm run test:sku-init | ||
run: aa-exec --profile=chrome pnpm run test |
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.
Does vitest have a cache we should persist?
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.
I checked all around and there isn't any. There are some plugins that maintain a cache but they have very low usage and stars so I don't want to tie this to that.
Outline:
sku
has moved toesm
and is starting experimentalvite
support. This means thatvitest
makes more sense for the test suite. It allows us to test everything asesm
projects and it speeds up our internal test suite.jest
has also not seen a major update since29.7
and still only has experimentalesm
support.This change also helps us understand how to migrate
sku
projects over tovitest
if they are using thesku test
command.Changes:
vitest
.fixture/jest-test
. This test now uses thebin/jest.js
file to run the tests.port
andstrict-port
as arguments forserve|start
commands.