MCPcopy Index your code
hub / github.com/NativeScript/nativescript-angular / elementIsAbove

Function elementIsAbove

e2e/renderer/e2e/ngforof.e2e-spec.ts:156–161  ·  view source on GitHub ↗
(first: ElementTuple, second: ElementTuple)

Source from the content-addressed store, hash-verified

154 };
155
156 const elementIsAbove = async (first: ElementTuple, second: ElementTuple) => {
157 await elementTupleCorrectlyRendered(first);
158 await elementTupleCorrectlyRendered(second);
159
160 await isAbove(first.button, second.label);
161 };
162
163 const elementTupleCorrectlyRendered = async (element: ElementTuple) => {
164 await isAbove(element.label, element.button);

Callers 2

checkAppendedCorrectlyFunction · 0.85
checkCorrectOrderAllFunction · 0.85

Calls 2

isAboveFunction · 0.90

Tested by

no test coverage detected