diff options
Diffstat (limited to 'spec/frontend/lib')
-rw-r--r-- | spec/frontend/lib/utils/number_utility_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/lib/utils/number_utility_spec.js b/spec/frontend/lib/utils/number_utility_spec.js index d2591cd2328..07e3e2f0422 100644 --- a/spec/frontend/lib/utils/number_utility_spec.js +++ b/spec/frontend/lib/utils/number_utility_spec.js @@ -109,8 +109,8 @@ describe('Number Utils', () => { describe('numberToHumanSize', () => { it('should return bytes', () => { - expect(numberToHumanSize(654)).toEqual('654 bytes'); - expect(numberToHumanSize(-654)).toEqual('-654 bytes'); + expect(numberToHumanSize(654)).toEqual('654 B'); + expect(numberToHumanSize(-654)).toEqual('-654 B'); }); it('should return KiB', () => { |