13 lines
236 B
TypeScript
13 lines
236 B
TypeScript
import type { Feature } from "@autumn/shared";
|
|
import type { AutumnContext } from "@/honoUtils/HonoEnv";
|
|
|
|
export const createMockCtx = ({
|
|
features,
|
|
}: {
|
|
features: Feature[];
|
|
}): AutumnContext =>
|
|
({
|
|
features,
|
|
}) as AutumnContext;
|
|
|