feat(test): add local billing smoke test

This commit is contained in:
2026-03-08 20:14:36 +04:00
parent 082d0f7dcc
commit 3152858aac
4 changed files with 107 additions and 1 deletions

View File

@@ -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()
})
})