test: trivial cleanup
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 25 Aug 2023 22:54:39 +0000 (00:54 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 25 Aug 2023 22:54:39 +0000 (00:54 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
test/utils/Utils.test.ts

index 05bf2bbb4c089eb99a6803616f4fb068c49d1df4..80aec47bac8c952b23239629a560d5866e54680b 100644 (file)
@@ -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()', () => {