File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 26
26
"test:dev" : " npm run clean && jest --config test/jest-config.json --watchAll" ,
27
27
"prerelease" : " npm run build" ,
28
28
"release" : " release-it" ,
29
- "prepare" : " husky install "
29
+ "prepare" : " husky"
30
30
},
31
31
"repository" : {
32
32
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -24,24 +24,24 @@ describe('Questions', () => {
24
24
describe ( 'generateSelect' , ( ) => {
25
25
it ( 'should return a select question' , ( ) => {
26
26
const choices : string [ ] = [ 'choiceA' , 'choiceB' , 'choiceC' ] ;
27
- const question : Question = generateSelect ( 'name' ) ( 'message' ) ( choices ) ;
27
+ const question = generateSelect ( 'name' ) ( 'message' ) ( choices ) ;
28
28
expect ( question ) . toEqual ( {
29
29
message : 'message' ,
30
30
name : 'name' ,
31
31
choices : [
32
- {
33
- name : " choiceA" ,
34
- value : " choiceA" ,
35
- } ,
36
- {
37
- name : " choiceB" ,
38
- value : " choiceB" ,
39
- } ,
40
- {
41
- name : " choiceC" ,
42
- value : " choiceC" ,
43
- }
44
- ]
32
+ {
33
+ name : ' choiceA' ,
34
+ value : ' choiceA' ,
35
+ } ,
36
+ {
37
+ name : ' choiceB' ,
38
+ value : ' choiceB' ,
39
+ } ,
40
+ {
41
+ name : ' choiceC' ,
42
+ value : ' choiceC' ,
43
+ } ,
44
+ ] ,
45
45
} ) ;
46
46
} ) ;
47
47
} ) ;
You can’t perform that action at this time.
0 commit comments