Skip to content
Source
Sign inSign up
samwillis/jerry
Open History to see the last commit

preview-auth.ts

12 lines286 Bytes

1// Imported only by the explicit local fixture build.
2export function createAuthClient() {
3 return {
4 getSession: async () => ({
5 data: {
6 session: { token: "visual-fixture" },
7 user: { id: "preview-user" },
8 },
9 }),
10 signOut: async () => ({}),
11 };