mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 21:14:02 +00:00
feat(test): add local billing smoke test
This commit is contained in:
@@ -50,4 +50,13 @@ describe('extractPurchaseTopicCandidate', () => {
|
||||
|
||||
expect(record).toBeNull()
|
||||
})
|
||||
|
||||
test('skips slash commands in purchase topic', () => {
|
||||
const record = extractPurchaseTopicCandidate(
|
||||
candidate({ rawText: '/statement 2026-03' }),
|
||||
config
|
||||
)
|
||||
|
||||
expect(record).toBeNull()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user