Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 457 Bytes

File metadata and controls

19 lines (14 loc) · 457 Bytes
name tests-commands
description Commands for running unit tests in the Trezor Suite monorepo. Use when you need to run tests for specific packages or the entire project.

Testing

Commands

yarn test:unit             # Run unit tests
yarn workspace @package-scope/package-name test:unit  # Test specific package

To run single test file:

yarn workspace @package-scope/package-name test:unit --coverage=0 file.test.ts