1
edit
Changes
m
→History Unit Test
** Wrote a new function that creates a handful of history items with various visit types.
<pre> var dayLabels = [ "Today", "Yesterday", "2 days ago", "3 days ago", "4 days ago", "5 days ago", "6 days ago", "Older than 6 days"]; /**
* Function fills history and checks if date labels
* are correct for partially filled history