braintree / sanitize-url

MIT License
307 stars 35 forks source link

Vitest #59

Closed oscarleonnogales closed 11 months ago

oscarleonnogales commented 11 months ago

Quick PR Summary

Why

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.

hollabaq86 commented 11 months ago

one other note: do we need to add coverage to any ignore files?

oscarleonnogales commented 11 months ago

Made the requested changes 😄