1833 Currency filter error
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-05-15 17:00:55 +02:00
parent 42bec3a944
commit 67fc332b46
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
describe('Currency filter', () => {
beforeEach(ngModule('vnCore'));
let currencyFilter;
beforeEach(inject(_currencyFilter_ => {
beforeEach(inject((_currencyFilter_, $translate) => {
currencyFilter = _currencyFilter_;
jest.spyOn($translate, 'use').mockReturnValue('en-US');
}));
it('should return a ONE decimal number as per the argument', () => {