LithoComponentAssert
TODO: T106084343 deprecate currently existing usage of Component assert.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T1, T2> hasPropsMatching(propsMatcherPairs: Array<Pair<KProperty1<T2, T1>, Matcher<T1>>>): LithoAssertions.LithoComponentAssert
Assert that a given Component has a property matching the provided matcher.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert that given {@Link Component} is equivalent to the provided one.
open fun isEquivalentTo(@Nullable other: Component, shouldCompareCommonProps: Boolean): LithoAssertions.LithoComponentAssert
Assert that given {@Link Component} is the same as the provided one including its props.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard