}
@Nullable
private static LineMarkerInfo getQUnitLineMarkerInfo(@NotNull JSFile jsFile,
@NotNull PsiElement element) {
QUnitFileStructure qunitFileStructure = QUnitFileStructureBuilder.getInstance().fetchCachedTestFileStructure(jsFile);
if (element instanceof JSCallExpression) {
JSCallExpression callExpression = (JSCallExpression) element;
String testElementName = qunitFileStructure.getNameByPsiElement(callExpression);
if (testElementName == null) {
return null;
}
return createLineMarkerFromElement(element, testElementName);
}