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

Create libs/test-utils-vitest #5703

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Create libs/test-utils-vitest #5703

merged 2 commits into from
Dec 10, 2024

Conversation

jonahkagan
Copy link
Collaborator

@jonahkagan jonahkagan commented Dec 10, 2024

Overview

Refs #5709

Copies all files from libs/test-utils that rely on jest and migrates them to use vitest instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.

Demo Video or Screenshot

N/A

Testing Plan

Updated automated tests. Also used some of these when migrating libs/mark-flow-ui to vitest. There may be some more tweaks needed as we use them further.

Checklist

  • I have added logging where appropriate to any new user actions, system updates such as file reads or storage writes, or errors introduced.
  • I have added a screenshot and/or video to this PR to demo the change
  • I have added the "user_facing_change" label to this PR to automate an announcement in #machine-product-updates

@jonahkagan jonahkagan force-pushed the jonah/test-utils-vitest branch 2 times, most recently from 8b5f312 to 9112d6c Compare December 10, 2024 00:54
Copies all files from libs/test-utils that rely on `jest` and migrate them to use `vitest` instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.
@jonahkagan jonahkagan force-pushed the jonah/test-utils-vitest branch from 9112d6c to 7034c04 Compare December 10, 2024 01:04
@jonahkagan jonahkagan marked this pull request as ready for review December 10, 2024 01:04
@jonahkagan jonahkagan merged commit be781fc into vitest Dec 10, 2024
63 checks passed
@jonahkagan jonahkagan deleted the jonah/test-utils-vitest branch December 10, 2024 16:49
eventualbuddha pushed a commit that referenced this pull request Dec 11, 2024
* Create libs/test-utils-vitest

Copies all files from libs/test-utils that rely on `jest` and migrate them to use `vitest` instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.

* Regenerate CircleCI config
eventualbuddha pushed a commit that referenced this pull request Dec 11, 2024
* Create libs/test-utils-vitest

Copies all files from libs/test-utils that rely on `jest` and migrate them to use `vitest` instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.

* Regenerate CircleCI config
eventualbuddha pushed a commit that referenced this pull request Dec 12, 2024
* Create libs/test-utils-vitest

Copies all files from libs/test-utils that rely on `jest` and migrate them to use `vitest` instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.

* Regenerate CircleCI config
eventualbuddha pushed a commit that referenced this pull request Dec 19, 2024
* Create libs/test-utils-vitest

Copies all files from libs/test-utils that rely on `jest` and migrate them to use `vitest` instead. This will enable any packages that currently use libs/test-utils to be migrated to vitest by using the vitest version of these utils. Eventually, when we're done migrating and there are no more jest tests, we can move these back into libs/test-utils, replacing the jest versions.

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

Successfully merging this pull request may close these issues.

2 participants