We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e7dc06 commit fa4d96dCopy full SHA for fa4d96d
src/main/frontend/src/utils/DateUtils.test.js
@@ -3,7 +3,7 @@ import './DateUtils.js'
3
describe('DateUtils.formatDateToDdMmYyyy()', () => {
4
5
it('should return a string in a format dd.mm.yyyy', () => {
6
- var date = new Date('2018-06-12T16:59:54.451Z');
+ const date = new Date('2018-06-12T16:59:54.451Z');
7
expect(DateUtils.formatDateToDdMmYyyy(date)).toEqual('12.06.2018');
8
});
9
0 commit comments