* Moving to vitest * Rearranging test * Fixing prettier linting * Reverting launch.json * Adjustments * Merged with main and regenerated lockfile * Fixing tests for API * Yarn updated, docs is gone --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Alex van Andel <me@alexvanandel.com>
20 lines
314 B
TypeScript
20 lines
314 B
TypeScript
import { vi } from "vitest";
|
|
|
|
vi.mock("@calcom/lib/logger", () => ({
|
|
default: {
|
|
getChildLogger: () => ({
|
|
debug: vi.fn(),
|
|
error: vi.fn(),
|
|
log: vi.fn(),
|
|
}),
|
|
},
|
|
}));
|
|
|
|
vi.mock("@calcom/lib/crypto", () => ({
|
|
symmetricDecrypt: () => `{
|
|
"userApiKey": "test"
|
|
}`,
|
|
}));
|
|
|
|
export {};
|