summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/filter/UnreadCountFormatterSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/filter/UnreadCountFormatterSpec.js')
-rw-r--r--js/tests/unit/filter/UnreadCountFormatterSpec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/filter/UnreadCountFormatterSpec.js b/js/tests/unit/filter/UnreadCountFormatterSpec.js
index 14152f047..83a96ebfe 100644
--- a/js/tests/unit/filter/UnreadCountFormatterSpec.js
+++ b/js/tests/unit/filter/UnreadCountFormatterSpec.js
@@ -7,18 +7,18 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
-describe('unreadCountFormatter', () => {
+describe('unreadCountFormatter', function () {
'use strict';
- let filter;
+ var filter;
beforeEach(module('News'));
- beforeEach(inject(($filter) => {
+ beforeEach(inject(function ($filter) {
filter = $filter('unreadCountFormatter');
}));
- it('should format the unread count', () => {
+ it('should format the unread count', function () {
expect(filter(999)).toBe(999);
expect(filter(1000)).toBe('999+');
});