Implement subscription management and Supabase enhancements #70
Annotations
3 errors and 1 warning
|
app/src/lib/subscription/subscription-service.ts#L343
Error: [vitest] No "user" export is defined on the "$lib/supabase/client" 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("$lib/supabase/client"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/lib/subscription/subscription-service.ts:343:1
❯ src/lib/database/supabase-repository.ts:4:1
|
|
|
The logs for this run have expired and are no longer available.
Loading