From: Jérôme Benoit Date: Thu, 4 Jul 2024 09:41:51 +0000 (+0200) Subject: refactor(test): typing cleanups X-Git-Tag: ocpp-server@v1.4.0~23 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=65a1581afd90a44096f1c0157abf4d5531d76fa5;p=e-mobility-charging-stations-simulator.git refactor(test): typing cleanups Signed-off-by: Jérôme Benoit --- diff --git a/tests/utils/Utils.test.ts b/tests/utils/Utils.test.ts index adf8ffea..6261beeb 100644 --- a/tests/utils/Utils.test.ts +++ b/tests/utils/Utils.test.ts @@ -387,8 +387,8 @@ await describe('Utils test suite', async () => { }) await it('Verify isArraySorted()', () => { - expect(isArraySorted([], (a, b) => a - b)).toBe(true) - expect(isArraySorted([1], (a, b) => a - b)).toBe(true) + expect(isArraySorted([], (a, b) => a - b)).toBe(true) + expect(isArraySorted([1], (a, b) => a - b)).toBe(true) expect(isArraySorted([1, 2, 3, 4, 5], (a, b) => a - b)).toBe(true) expect(isArraySorted([1, 2, 3, 5, 4], (a, b) => a - b)).toBe(false) expect(isArraySorted([2, 1, 3, 4, 5], (a, b) => a - b)).toBe(false)