build: cleanup eslint configuration
[e-mobility-charging-stations-simulator.git] / tests / utils / Utils.test.ts
index 82964803b87e0f4913a9929dc8125dc7e04d4420..615f76fa01f057c9bad1a1b60a7a0d16b4df54d4 100644 (file)
@@ -91,6 +91,7 @@ await describe('Utils test suite', async () => {
 
   await it('Verify convertToDate()', () => {
     expect(convertToDate(undefined)).toBe(undefined);
+    expect(convertToDate(null)).toBe(null);
     expect(() => convertToDate('')).toThrow(new Error("Cannot convert to date: ''"));
     expect(() => convertToDate('00:70:61')).toThrow(
       new Error("Cannot convert to date: '00:70:61'"),