Assert whether a particular selector is contained in a vTree
the css selector to try and find
the vNode to test (can contain streams/observables)
Promise
:
promise resolves with an array of all of the matched vNodes, or rejects if the selector can not be found.
Assert whether or not a vTree contains a specific vNode
the actual vNode you'd like to test (can hold streams/observables)
the expected vNode structure
Promise
:
promise resolves with an object containing the actual
and
expected
values if the expected value is contained in the actual value,
or rejects if there is no match
Assert whether or not to vTrees are identical
the actual vNode you'd like to test (can hold streams/observables)
the expected vNode structure
Promise
:
promise resolves with an object containing the actual
and
expected
values if there is a match, or rejects if the vNodes do not match