File tree 1 file changed +2
-3
lines changed
src/plugin/composables/__tests__
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { describe , it , expect } from 'vitest' ;
2
- // import { inject } from 'vue';
3
2
import {
4
3
useGetIcon
5
4
} from '../icons' ;
@@ -37,15 +36,15 @@ describe('Icon Composable', () => {
37
36
icon : undefined ,
38
37
iconOptions : { } ,
39
38
name : 'loading' ,
40
- } ) ) . toThrowError ( 'VInlineFields: No VInlineFields default undefined icon set found for loading. Please set the icon prop .' ) ;
39
+ } ) ) . toThrowError ( '[ VInlineFields] : No default undefined icon set found.' ) ;
41
40
} ) ;
42
41
43
42
it ( 'throws error if supplied name not found' , ( ) => {
44
43
expect ( ( ) => useGetIcon ( {
45
44
icon : undefined ,
46
45
iconOptions,
47
46
name : 'foobar' ,
48
- } ) ) . toThrowError ( ` VInlineFields: No foobar icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'` ) ;
47
+ } ) ) . toThrowError ( '[ VInlineFields] : No foobar icon found.' ) ;
49
48
} ) ;
50
49
} ) ;
51
50
} ) ;
You can’t perform that action at this time.
0 commit comments