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

+13
View File
@@ -0,0 +1,13 @@
import { describe, expect, it } from 'vitest';
import { classifyConversationOutcome } from '../src/services/conversation-outcome.js';
describe('conversation outcome classification', () => {
it.each([
['That sounds fun, tell me more', 'engaged'],
['No thanks, not interested', 'declined'],
['Check my OnlyFans link in bio', 'upsell'],
['Stop messaging me', 'boundary'],
] as const)('classifies %s as %s', (reply, expected) => {
expect(classifyConversationOutcome(reply)).toBe(expected);
});
});