@nx/jest:convert-to-inferred

Convert existing Jest project(s) using @nx/jest:jest executor to use @nx/jest/plugin.

Usage

1nx generate convert-to-inferred ... 2

By default, Nx will search for convert-to-inferred in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/jest:convert-to-inferred ... 2

Show what will be generated without writing to disk:

1nx g convert-to-inferred ... --dry-run 2

Options

project

string

The project to convert from using the @nx/jest:jest executor to use @nx/jest/plugin. If not provided, all projects using the @nx/jest:jest executor will be converted.

skipFormat

boolean
Default: false

Whether to format files.