0
나는 검도를 분류 할 수있는 기존 사례가 있고 카르마와 재스민을 사용하여 힌트 기능을 테스트하려고합니다. Kendo Sortable로 드래그 이벤트를 에뮬레이트하여 힌트 기능을 호출하는 방법에 대한 아이디어가 있습니까?Kendo Sortable + 카르마 : 단위 테스트 힌트 기능
$element.find("#sortable-container").kendoSortable({
axis: "none",
cursor: "move",
container: "#sortable-container",
hint: function (element) { //this is not called and is messing with my karma coverage
var elementHint = element.clone();
elementHint.find('[ng-transclude=""]').removeAttr("ng-transclude");
elementHint.find(".hw-closeable").removeClass("hw-closeable");
return elementHint.addClass("sortable-tooltip");
}
});