assertMatchesKlip

fun assertMatchesKlip(actual: Any?, path: String? = null, key: String? = null, update: Boolean? = null)

Asserts that the given object matches its respective klip

Parameters

actual

value to assert

path

file path to retrieve and save klip for the given context

key

key to write the klip under in the file at path

update

whether the klip should be overridden instead of asserted