Fix front unit test on main (#20233)
Jest mocks runs before the const is defined
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
const baseUuid = '8f3b2121-f194-4ba4-9fbf-';
|
||||
|
||||
export const getUuidV4Mock = () => {
|
||||
let id = 0;
|
||||
|
||||
return () => {
|
||||
return baseUuid + id++;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user