mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-06 15:30:30 +08:00
chore(engine): Remove comments to silence errors and logs from createRequest test.
This commit is contained in:
parent
4de9b0e377
commit
9988b3051a
@ -56,8 +56,8 @@ const mockDate = jest.fn(() => ({ date: 0 }));
|
||||
mockDate.now = jest.fn(() => 0);
|
||||
|
||||
// Comment out to use console
|
||||
// console.log = () => {};
|
||||
// console.error = () => {};
|
||||
console.log = () => {};
|
||||
console.error = () => {};
|
||||
|
||||
beforeAll(() => {
|
||||
global.Date = mockDate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user