-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Migrate to vitest from jest #1074
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: main
Are you sure you want to change the base?
Migrate to vitest from jest #1074
Conversation
|
The main motivation to do this is that vitest works with ESM modules natively. This means we can use MSW to test MCP servers more effectively. MSW is a lovely tool and is pretty much standard practise when testing typescript servers. |
|
Fully support this. Was discussed in #1015 and #916 but not progressed. Additionally other repos are already migrating (e.g. modelcontextprotocol/servers#2884). It only makes sense that we do it here too! |
67c9989 to
29cb080
Compare
commit: |
pcarleton
left a comment
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.
overall looks good, ty for doing this. just had 2 questions about parts i didn't understand

its newer, faster, works natively with the modern toolchain like typescript.
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context