We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a8526 commit 6e76970Copy full SHA for 6e76970
1 file changed
packages/ui/components/createButton/create-button-with-teams-list.test.tsx
@@ -6,7 +6,7 @@ import type { CreateBtnProps } from "./CreateButton";
6
import { CreateButtonWithTeamsList } from "./CreateButtonWithTeamsList";
7
8
const runtimeMock = async (data: Array<any>) => {
9
- const updatedTrcp = {
+ const updatedTrpc = {
10
viewer: {
11
teamsAndUserProfilesQuery: {
12
useQuery() {
@@ -18,7 +18,7 @@ const runtimeMock = async (data: Array<any>) => {
18
},
19
};
20
const mockedLib = (await import("@calcom/trpc/react")) as any;
21
- mockedLib.trpc = updatedTrcp;
+ mockedLib.trpc = updatedTrpc;
22
23
const renderCreateButton = (
24
props: Omit<CreateBtnProps, "options"> & { onlyShowWithTeams?: boolean; onlyShowWithNoTeams?: boolean }
0 commit comments