maxgui/src/components/common/IconSpriteSheet/__tests__/IconSpriteSheet.spec.js
/**
 * This function mockups defining slot content of the component by returning
 * mount function.
 * @param {Object} props props passing to IconSpriteSheet component
 * @param {Boolean} isShallow shallow mount the component
 * @returns mount function
 */
This function mockups defining slot content of the component by returning
mount function.
@param {Object} props props passing to IconSpriteSheet component
@param {Boolean} isShallow shallow mount the component
@returns mount function
This function mockups defining slot content of the component by returning mount function . @param { Object } props props passing to IconSpriteSheet component @param { Boolean } isShallow shallow mount the component @returns mount function
function mockupSlotDefining(props, isShallow = true) {
    let mountOption = {
        shallow: isShallow,
        component: IconSpriteSheet,
        slots: {
            default: 'status', 
        },
    }
    if (props) {
        mountOption.props = props
    }
    return mount(mountOption)
}
function mockupSlotDefining ( props , isShallow = true ) { let mountOption = { shallow : isShallow , component : IconSpriteSheet , slots : { default : 'status' , } , } if ( props ) { mountOption . props = props } return mount ( mountOption ) }
This function mockups defining slot content of the component by returning
 mount function.
This function mockups defining slot content of the component by returning mount function .
// currently, maxgui only needs 'status' frame