File tree 1 file changed +4
-4
lines changed
packages/@vue/cli-service/__tests__ 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -174,11 +174,11 @@ test('api: assertVersion', () => {
174
174
const plugin = {
175
175
id : 'test-assertVersion' ,
176
176
apply : api => {
177
- expect ( ( ) => api . assertVersion ( 3 ) ) . not . toThrow ( )
178
- expect ( ( ) => api . assertVersion ( '3 ' ) ) . not . toThrow ( )
179
- expect ( ( ) => api . assertVersion ( '>= 3 ' ) ) . not . toThrow ( )
177
+ expect ( ( ) => api . assertVersion ( 4 ) ) . not . toThrow ( )
178
+ expect ( ( ) => api . assertVersion ( '4 ' ) ) . not . toThrow ( )
179
+ expect ( ( ) => api . assertVersion ( '>= 4 ' ) ) . not . toThrow ( )
180
180
181
- expect ( ( ) => api . assertVersion ( 3 .1) ) . toThrow ( 'Expected string or integer value' )
181
+ expect ( ( ) => api . assertVersion ( 4 .1) ) . toThrow ( 'Expected string or integer value' )
182
182
expect ( ( ) => api . assertVersion ( '^100' ) ) . toThrow ( 'Require @vue/cli-service "^100"' )
183
183
}
184
184
}
You can’t perform that action at this time.
0 commit comments