@exile-watch/unit-testing-config
Shared Vitest configuration for exile.watch projects

This package contains shared Vitest configuration, Vitest and Testing Library dependencies.
About Vitest & Testing Library
Vitest is a Vite-native testing framework.
Testing Library contains a simple and complete testing utilities that encourage good testing practices
Usage
Install the package as a
devDependency
:
npm i -D @exile-watch/unit-testing-config
Add/update
scripts
properties in repo's rootpackage.json
:
// {root}/package.json
{
"scripts": {
"lint": ..., // "exit 0" if linting is not set
"lint:apply": ..., // "exit 0" if linting is not set
"format": ... // "exit 0" if formatting is not set
"typecheck": ... // "exit 0" if typecheck is not set
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
Last updated
Was this helpful?