@nrwl/jest:init
Add Jest Configuration to a workspace.
Usage
nx generate init ...nx g ng-add ... #sameBy default, Nx will search for init in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/jest:init ...Show what will be generated without writing to disk:
nx g init ... --dry-runOptions
babelJest
babel-jest
boolean
Default:
falseUse babel-jest instead of ts-jest.
js
boolean
Default:
falseUse JavaScript instead of TypeScript for config files
skipPackageJson
boolean
Default:
falseDo not add dependencies to package.json.