• Robert Knight's avatar
    Validate prop types of mocked components · eea810d0
    Robert Knight authored
    This adds basic runtime verification that mocked components are called
    with types that are compatible with what the real component expects.
    
    This turned up one existing issue with use of `MenuSection` by
    `UserMenu`, where conditional rendering would cause the prop type check
    to fail.
    eea810d0
mock-imported-components.js 1.93 KB