nx/docs/api-jest/schematics/jest-project.md
2019-04-16 13:10:49 -04:00

571 B

jest-project

Add Jest configuration to a project

Usage

ng generate jest-project ...

Options

project

Type: string

The name of the project.

setupFile

Default: none

Type: string

The setup file to be generated

skipSerializers

Default: false

Type: boolean

Skips the serializers required to snapshot angular templates

skipSetupFile

Default: false

Type: boolean

[Deprecated]: Skips the setup file required for angular. (Use --setup-file)

supportTsx

Default: false

Type: boolean

Setup tsx support