Repo(eslint-plugin): resolve remaining issues from vitest
migration
#11099
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
repo maintenance
things to do with maintenance of the repo, and not with code/docs
Suggestion
Post-Vitest Migration: Fixes & Improvements
@nx/vite:test
executor inproject.json
to align with other workspaces.vitest --project=eslint-plugin
to fail..each
with the new.for
syntax to allow running the tests concurrently viavitest --sequence.concurrent=true
, which does speed up local testing.fs
withfs/promises
to take advantage ofvitest
’s better support for async/ESM code (vs.jest
's preference for sync/CJS).__dirname
indocs.test.mts
.vitest
backportsimport.meta.dirname
,import.meta.filename
as well asimport.meta.resolve()
for older versions of Node.js.vitest
assertions.invalidCases
inno-unnecessary-template-expression.test.ts
..for
syntax.test-single
target toproject.json
.outDir
path intsconfig.spec.json
.Additional Info
I will submit a draft PR for this shortly.
The text was updated successfully, but these errors were encountered: