• Mock a module of components. nested components will be rendered nicely in snapshots. usage:

      mockNestedComponents({
    Card: { Body: 'Card.Body' },
    IconButton: 'IconButton',
    })

    Parameters

    • mapping: Record<string, string | Record<string, unknown>>

    Returns {}

    • module of flat and nested components that will render nicely in snapshots.

    Generated using TypeDoc