Running unit tests - sachila/react GitHub Wiki

Run the yarn test command to execute all the unit tests at once.

To run individual test cases, run the command with test file path, yarn test <file path>

eg, to run the categoryhook tests follow this approach

yarn test /home/sachila/Projects/sample/gapstar/react/demo/src/hooks/CategoryHook.test.ts

⚠️ **GitHub.com Fallback** ⚠️