5 lines
213 B
TypeScript
5 lines
213 B
TypeScript
import { t } from "$lib/server/trpc";
|
|
import { router } from "$lib/server/trpc/router";
|
|
import { U1 } from "$tests/helpers/testdata";
|
|
|
|
export const caller = (user = U1) => t.createCallerFactory(router)({ user });
|