From 0f6058f36dfbd50695c4a8cedd62ff2038732924 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 26 Aug 2023 00:54:39 +0200 Subject: [PATCH] test: trivial cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- test/utils/Utils.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/Utils.test.ts b/test/utils/Utils.test.ts index 05bf2bbb..80aec47b 100644 --- a/test/utils/Utils.test.ts +++ b/test/utils/Utils.test.ts @@ -48,8 +48,8 @@ describe('Utils test suite', () => { it('Verify sleep()', async () => { const start = performance.now(); await sleep(1000); - const end = performance.now(); - expect(end - start).toBeGreaterThanOrEqual(1000); + const stop = performance.now(); + expect(stop - start).toBeGreaterThanOrEqual(1000); }); it('Verify formatDurationMilliSeconds()', () => { -- 2.34.1