Skip to content

Commit 32157d5

Browse files
committed
enabling show terminal question for ng-add properties: installJestDom, installUserEvent
1 parent 1d03421 commit 32157d5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

projects/testing-library/schematics/ng-add/schema.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@
77
"installJestDom": {
88
"type": "boolean",
99
"description": "Would you like to install jest-dom?",
10-
"default": false
10+
"$default": {
11+
"$source": "argv",
12+
"index": 0
13+
},
14+
"default": false,
15+
"x-prompt": "Would you like to install jest-dom?"
1116
},
1217
"installUserEvent": {
1318
"type": "boolean",
1419
"description": "Would you like to install user-event?",
15-
"default": false
20+
"$default": {
21+
"$source": "argv",
22+
"index": 1
23+
},
24+
"default": false,
25+
"x-prompt": "Would you like to install user-event?"
1626
}
1727
},
1828
"additionalProperties": false,

0 commit comments

Comments
 (0)