Documentation

API Referencefunction

function expectOutput()

Returns an assertion for the elements matching the provided filters.

function expectOutput(
select: OutputSelectFilter & {
timeout?: number;
},
...nested: OutputSelectFilter[]
): OutputAssertion;

Notes

Parameters

Return value

A promise that’s resolved to an OutputAssertion instance for matching output, or rejected when a timeout occurs.