Fix front unit test on main (#20233)

Jest mocks runs before the const is defined
This commit is contained in:
Paul Rastoin
2026-05-04 15:14:43 +02:00
committed by GitHub
parent d2cfbf319b
commit 596ce32bd6
5 changed files with 54 additions and 46 deletions
@@ -1,9 +0,0 @@
const baseUuid = '8f3b2121-f194-4ba4-9fbf-';
export const getUuidV4Mock = () => {
let id = 0;
return () => {
return baseUuid + id++;
};
};