feat: replace browser login with imported Reddit sessions

This commit is contained in:
jjbrunton committed 2026-08-08 16:48:59 +01:00
1 parent 2b0545afcf
commit c483c7b8be
76 files changed
+2048 -2828

No files matched your search

@@ -11,7 +11,6 @@ import {
ConversationsResponseSchema,
DashboardEventSchema,
ErrorResponseSchema,
LoginInfoResponseSchema,
LoginStatusResponseSchema,
LegacyDashboardStreamEventSchema,
MediaResponseSchema,
@@ -183,10 +182,7 @@ describe('dashboard endpoint contracts', () => {
expect(MediaResponseSchema.safeParse([{ id: 'sha1', timestamp: 'now' }]).success).toBe(false);
});
it('validates login info and every current login-status branch', () => {
expect(LoginInfoResponseSchema.safeParse({
vncEnabled: true, novncPort: 6080, publicUrl: null, passwordRequired: true,
}).success).toBe(true);
it('validates every current login-status branch', () => {
expect(LoginStatusResponseSchema.safeParse({
ready: true, loggedIn: true, status: 'authenticated',
}).success).toBe(true);