mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
solved unnecessary date creation regarding one invalid date testing
This commit is contained in:
parent
a756f0a4cc
commit
df25197842
@ -1025,7 +1025,7 @@ describe('AdminResolver', () => {
|
||||
it('logs the error thrown', () => {
|
||||
expect(logger.error).toBeCalledWith(
|
||||
'No information for available creations with the given creationDate=',
|
||||
new Date('not-valid').toString(),
|
||||
'Invalid Date',
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user