redwood test [sides or filter]
Run Jest tests for api and web
Arguments
Name | Description |
---|
sides or filter | Which side(s) to test, and/or a regular expression to match against your test files to filter by |
Options
Name | Description |
---|
--help | Show help |
--version | Show version number |
--watch | Run tests related to changed files based on hg/git (uncommitted files). Specify the name or path to a file to focus on a specific set of tests [default: true] |
--watchAll | Run all tests |
--collectCoverage | Show test coverage summary and output info to coverage directory in project root. See this directory for an .html coverage report |
--clearCache | Delete the Jest cache directory and exit without running tests |
--db-push | Syncs the test database with your Prisma schema without requiring a migration. It creates a test database if it doesn't already exist [default: true]. This flag is ignored if your project doesn't have an api side |