javascript - Change value of array item when sorting -
i writing tests need check sort order of ng-grid table. values api call put table, sorting on table allows sort ascending , descending expected 'not set' shown @ either top or bottom of table.
my protractor test grabs text value of items in list grab items api response array , sort using javascript check sorting working, 'n' isn't higher 'a' in alphabet, there way make when sort using javascript 'not set' goes top of list?
i'v had search on google cant find maybe i'm using wrong search terms
Comments
Post a Comment