test(front): fix main failing test due to timezone (#11295)
# Introduction Due to winter to summer timezone update, it shown that we have some unit tests flakiness due to both mocked and unmocked date.now invokation between app bootstrap and test bootstrap This PR does not refactor this behavior Just fix the currently failing test ## Note Removed a duplicated file
This commit is contained in:
@ -13,4 +13,4 @@ import '@testing-library/jest-dom';
|
||||
*/
|
||||
global.structuredClone = (val) => {
|
||||
return JSON.parse(JSON.stringify(val));
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user