Skip to content

Commit

Permalink
fix(testing): fix the verbose option type for jest
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored and vsavkin committed Sep 28, 2019
1 parent 5a60f9f commit 579a155
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/angular/api-jest/builders/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Divert all output to stderr.

### verbose

Type: `string`
Type: `boolean`

Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/en/cli#verbose)

Expand Down
2 changes: 1 addition & 1 deletion docs/react/api-jest/builders/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Divert all output to stderr.

### verbose

Type: `string`
Type: `boolean`

Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/en/cli#verbose)

Expand Down
2 changes: 1 addition & 1 deletion docs/web/api-jest/builders/jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Divert all output to stderr.

### verbose

Type: `string`
Type: `boolean`

Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/en/cli#verbose)

Expand Down
4 changes: 2 additions & 2 deletions packages/jest/src/builders/jest/jest.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export interface JestBuilderOptions extends JsonObject {
testPathPattern?: string;
colors?: boolean;
reporters?: string[];
verbose?: false;
coverage?: false;
verbose?: boolean;
coverage?: boolean;
coverageReporters?: string;
coverageDirectory?: string;
testResultsProcessor?: string;
Expand Down
3 changes: 2 additions & 1 deletion packages/jest/src/builders/jest/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
}
},
"verbose": {
"description": "Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/en/cli#verbose)"
"description": "Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/en/cli#verbose)",
"type": "boolean"
},
"coverage": {
"description": "Indicates that test coverage information should be collected and reported in the output. This option is also aliased by --collectCoverage. (https://jestjs.io/docs/en/cli#coverage)",
Expand Down

0 comments on commit 579a155

Please sign in to comment.