year in one line
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-01-03 08:44:48 +01:00
parent db609c1713
commit 644202ba0e
1 changed files with 2 additions and 3 deletions

View File

@ -13,9 +13,8 @@ describe('InvoiceOut download()', () => {
};
it('should return the downloaded file name', async() => {
let year = new Date();
year = year.getFullYear();
const year = new Date().getFullYear();
spyOn(models.InvoiceContainer, 'container').and.returnValue({
client: {root: '/path'}
});