Skip to content

Commit 1e7dc06

Browse files
committed
refactor(DateUtils.test.js): use arrow functions
1 parent 22366b9 commit 1e7dc06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/frontend/src/utils/DateUtils.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import './DateUtils.js'
22

3-
describe('DateUtils.formatDateToDdMmYyyy()', function() {
3+
describe('DateUtils.formatDateToDdMmYyyy()', () => {
44

5-
it('should return a string in a format dd.mm.yyyy', function() {
5+
it('should return a string in a format dd.mm.yyyy', () => {
66
var date = new Date('2018-06-12T16:59:54.451Z');
77
expect(DateUtils.formatDateToDdMmYyyy(date)).toEqual('12.06.2018');
88
});

0 commit comments

Comments
 (0)