(singular, count)
| 688 | } |
| 689 | |
| 690 | function pluralize(singular, count) { |
| 691 | const word = count == 1 ? singular : singular + "s" |
| 692 | |
| 693 | return "" + count + " " + word |
| 694 | } |
| 695 | |
| 696 | function specHref(result) { |
| 697 | // include window.location.pathname to fix issue with karma-jasmine-html-reporter in angular: see https://github.com/jasmine/jasmine/issues/1906 |