fix: extract trpc and react-awesome-query-builder from atoms #38973
Annotations
7 errors
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:98:5
|
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:111:5
|
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:126:5
|
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:144:5
|
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:162:5
|
Run yarn test -- --no-isolate:
packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx#L84
Error: [vitest] No "AddMembersWithSwitchWebWrapper" export is defined on the "@calcom/atoms/monorepo" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@calcom/atoms/monorepo"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ renderComponent packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:84:18
❯ packages/features/eventtypes/components/__tests__/AddMembersWithSwitch.test.tsx:173:5
|
Run yarn test -- --no-isolate
Process completed with exit code 1.
|
Loading