shufo / prettier-plugin-blade

Format your blade template using Prettier
https://www.npmjs.com/package/@shufo/prettier-plugin-blade
MIT License
326 stars 8 forks source link

[Feature]: Replace jest with Vitest #270

Closed shufo closed 7 months ago

shufo commented 7 months ago

Description

As like blade-formatter replaced jest with Vitest. This repository should also replace jest with vitest for more better testing experience.

In blade-formatter, Vitest speeds up overall test to 30% faster and outputs better results.

Suggested Solution

  1. Remove jest dependencies
  2. Add vitest to dependencies
  3. Fix tests to import expect, test from Vitest

Alternatives

No response

Additional Context

No response