cal.pub0.org/packages/app-store/closecom/test/globals.ts

16 lines
282 B
TypeScript

jest.mock("@calcom/lib/logger", () => ({
default: {
getChildLogger: () => ({
debug: jest.fn(),
error: jest.fn(),
log: jest.fn(),
}),
},
}));
jest.mock("@calcom/lib/crypto", () => ({
symmetricDecrypt: () => `{
"userApiKey": "test"
}`,
}));