Skip to content

Conversation

@oscarleonnogales
Copy link
Contributor

JIRA

Summary

  • Setup the base config to support vitest
  • Removed jest support
  • Changed import and export statements into ES6 syntax inside the /src directory.
  • Moved type declarations to their own file

Why Vitest

Vitest is a "blazingly fast" unit test framework, and allows us to leave the test suite running in a watch-mode environment while we continue to make changes to our code. Only the necessary tests will re-run depending on what files were changed, making it much quicker to make changes without having to wait for the entire test suite to re-run.

Vitest has also been designed with a Jest compatible API, in order to make the migration from Jest as simple as possible. The API is essentially the same as Jest with some very minor differences.

Checklist

  • [] Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

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