Stylelint config migrates to Vitest
The @n8n/stylelint-config package joins the growing list of n8n modules running tests on Vitest instead of Jest, standardizing test infrastructure across the monorepo.
n8n's test infrastructure is consolidating around Vitest. The @n8n/stylelint-config package has been migrated from Jest to Vitest, updating its test scripts, dependencies, and configuration to align with the rest of the codebase. The change involves four files: Jest configuration was removed, test commands were updated in , TypeScript types were switched from Jest to Vitest globals, and a new was added to extend n8n's shared Vitest configuration. This migration is part of a broader effort to standardize testing tools across the n8n monorepo — fewer testing frameworks means less context-switching for developers and a more consistent local development experience.
View Original GitHub Description
Summary
Migrate @n8n/stylelint-config to VItest
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/CAT-2799
Review / Merge checklist
- I have seen this code, I have run this code, and I take responsibility for this code.
- PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
- Docs updated or follow-up ticket created.
- Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)