Added unit tests for CategorySelector and Change components (#5118)

This commit is contained in:
Matiss Janis Aboltins
2025-06-14 15:54:13 +01:00
committed by GitHub
parent 6509e80061
commit 7c9f3f241d
9 changed files with 304 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
---
description:
globs:
alwaysApply: true
---
Vitest test runner is used for unit tests.
When running unit tests, always include the flag `--watch=false` to prevent watch mode.
To run unit tests for a specific package in the monorepo, use the following command:
`yarn workspace <workspaceNameFromPackageJson> run test <pathToTest>`
Recommendation: Minimize the number of dependencies you mock. The fewer dependencies you mock, the better.