You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These should be migrated to use vitest types instead.
We do also use eslint-plugin-jest, but that's maybe less of a big deal since Jest semantics look very similar to Vitest's. Also apparently eslint-plugin-vitest is not officially-supported by the Vitest project and says "Most of the rules in this plugin are essentially ports of eslint-plugin-jest".
The text was updated successfully, but these errors were encountered:
Follow-up to #4396
If you search the codebase for
jest
, you can still find some Jest-related TypeScript types, e.g.:lwc/packages/@lwc/module-resolver/scripts/jest/types.ts
Line 11 in c6c6803
lwc/scripts/jest/utils/matchers.ts
Lines 9 to 10 in c6c6803
These should be migrated to use
vitest
types instead.We do also use
eslint-plugin-jest
, but that's maybe less of a big deal since Jest semantics look very similar to Vitest's. Also apparently eslint-plugin-vitest is not officially-supported by the Vitest project and says "Most of the rules in this plugin are essentially ports ofeslint-plugin-jest
".The text was updated successfully, but these errors were encountered: