// my-test.ts import { test as base } from "vitest"; import { getTestEmails } from "@calcom/lib/testEmails"; import { getTestSMS } from "@calcom/lib/testSMS"; export interface Fixtures { emails: ReturnType; sms: ReturnType; } export const test = base.extend({ emails: async ({}, use) => { await use(getEmailsFixture()); }, sms: async ({}, use) => { await use(getSMSFixture()); }, }); function getEmailsFixture() { return { get: getTestEmails, }; } function getSMSFixture() { return { get: getTestSMS, }; }