year in one line
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
db609c1713
commit
644202ba0e
|
@ -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'}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue