function checkIdentityContract( events, expectations?, options?): IdentityViolation[];
Defined in: testing/identityContract.ts:150Check normalized events against the identity stability contract and return
every violation (empty array = conforming). Non-identity events (connection,
status, …) are skipped but keep their index.