Tests Commands
Testing & Qualitytests-commandsTests Commands is an Agent Skill for testing & quality published in the trezor/trezor-suite repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Commands for running unit tests in the Trezor Suite monorepo. Use when you need to run tests for specific packages or the entire project.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/trezor/trezor-suite/blob/HEAD/skills/tests-commands/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tests-commands, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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