File tree 5 files changed +2596
-1987
lines changed
core/lib/node/__tests__/prepare
5 files changed +2596
-1987
lines changed Original file line number Diff line number Diff line change 40
40
"@types/node" : " ^12.7.5" ,
41
41
"@types/semver" : " ^6.0.0" ,
42
42
"conventional-changelog-cli" : " ^2.0.23" ,
43
- "eslint" : " ^6.4.0 " ,
43
+ "eslint" : " 5.11.1 " ,
44
44
"eslint-plugin-jest" : " ^22.17.0" ,
45
45
"eslint-plugin-vue-libs" : " ^4.0.0" ,
46
46
"husky" : " ^3.0.5" ,
47
47
"inquirer" : " ^7.0.0" ,
48
48
"lerna" : " 3.16.4" ,
49
49
"lint-staged" : " ^9.3.0" ,
50
50
"minimist" : " ^1.2.0" ,
51
- "typescript" : " ^3.6.3" ,
52
- "all-contributors-cli" : " ^6.9.1"
51
+ "typescript" : " ^3.6.3"
53
52
}
54
53
}
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ describe('Page', () => {
125
125
test ( 'should loop over sync enhancers' , async ( ) => {
126
126
await page . enhance ( enhancers )
127
127
128
- return enhancers . map ( enhancer => expect ( enhancer . value ) . toBeCalled ( ) )
128
+ return enhancers . map ( enhancer => expect ( enhancer . value ) . toHaveBeenCalled ( ) )
129
129
} )
130
130
131
131
test ( 'should loop over sync and async enhancers' , async ( ) => {
@@ -135,7 +135,7 @@ describe('Page', () => {
135
135
} ]
136
136
await page . enhance ( mixedEnhancers )
137
137
138
- return mixedEnhancers . map ( enhancer => expect ( enhancer . value ) . toBeCalled ( ) )
138
+ return mixedEnhancers . map ( enhancer => expect ( enhancer . value ) . toHaveBeenCalled ( ) )
139
139
} )
140
140
141
141
test ( 'should log when enhancing when failing' , async ( ) => {
@@ -147,7 +147,7 @@ describe('Page', () => {
147
147
value : jest . fn ( ) . mockRejectedValue ( error )
148
148
} ] )
149
149
} catch ( e ) {
150
- expect ( console . log ) . toBeCalledWith ( error )
150
+ expect ( console . log ) . toHaveBeenCalledWith ( error )
151
151
}
152
152
} )
153
153
} )
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ export default {
93
93
? repo
94
94
: ` https://github.com/${ repo} `
95
95
}
96
+ return null
96
97
},
97
98
98
99
repoLabel () {
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export default {
53
53
this .$page .relativePath
54
54
)
55
55
}
56
+ return null
56
57
},
57
58
58
59
editLinkText () {
You can’t perform that action at this time.
0 commit comments