feat: replace browser login with imported Reddit sessions
This commit is contained in:
1 parent
2b0545afcf
commit
c483c7b8be
76 files changed
+2048
-2828
No files matched your search
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user