9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
import { generateFileName } from '../downloadHelper';
|
|
|
|
describe('#generateFileName', () => {
|
|
it('should generate the correct file name', () => {
|
|
expect(generateFileName({ type: 'csat', to: 1652812199 })).toEqual(
|
|
'csat-report-17-05-2022.csv'
|
|
);
|
|
});
|
|
});
|