<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior The syntax to test a single file is different when using the jest executor versus the jest cli ```sh jest <file> # vs nx test project --testFile <file> ``` ## Expected Behavior I would expect the jest executor to support a single positional argument as well ```sh nx test project <file> ``` This is one of the common questions/complaints that I hear from developers when transitioning from our standalone apps to our monorepo This change supports both syntaxes so that this is not a breaking change and prints a warning when both are used
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
This package is a Jest plugin for Nx.
{{content}}