UNPKG

syncflow-engine

Version:

A flexible and robust data synchronization library for JavaScript applications

15 lines (14 loc) 377 B
"use strict"; Object.defineProperty(global, "crypto", { value: { randomUUID: function () { return "1234-5678-9012-3456"; }, getRandomValues: function () { return new Uint8Array(32); }, }, }); // Mock all logger methods jest.mock("../utils/logger", function () { return ({ logger: { debug: jest.fn(), error: jest.fn(), }, }); });