From d12e7f3c812d4ce351492eb3b5da2722d261f331 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 26 Oct 2022 01:37:44 +0200 Subject: [PATCH] Ensure the UUID generator define a value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- test/utils/UtilsTest.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/utils/UtilsTest.ts b/test/utils/UtilsTest.ts index 5982e198..c7144e4d 100644 --- a/test/utils/UtilsTest.ts +++ b/test/utils/UtilsTest.ts @@ -5,6 +5,7 @@ import Utils from '../../src/utils/Utils'; describe('Utils test suite', () => { it('Verify generateUUID()/validateUUID()', () => { const uuid = Utils.generateUUID(); + expect(uuid).toBeDefined(); expect(uuid.length).toEqual(36); expect(Utils.validateUUID(uuid)).toBe(true); expect(Utils.validateUUID('abcdef00-0000-4000-0000-000000000000')).toBe(true); -- 2.34.1