File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/plugin/composables/__tests__ Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { describe , it , expect } from 'vitest' ;
2- // import { inject } from 'vue';
32import {
43 useGetIcon
54} from '../icons' ;
@@ -37,15 +36,15 @@ describe('Icon Composable', () => {
3736 icon : undefined ,
3837 iconOptions : { } ,
3938 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.' ) ;
4140 } ) ;
4241
4342 it ( 'throws error if supplied name not found' , ( ) => {
4443 expect ( ( ) => useGetIcon ( {
4544 icon : undefined ,
4645 iconOptions,
4746 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.' ) ;
4948 } ) ;
5049 } ) ;
5150} ) ;
You can’t perform that action at this time.
0 commit comments