Skip to main content

MockComponent

Creates lightweight stub components matching real component selectors and input/output contracts for shallow unit testing.

TypeScriptexample.ts
import { MockComponent } from '@angular-helpers/testing'
LCP N/A
CLS N/A
INP N/A