Score RFV clients without phone
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m46s

This commit is contained in:
Cauê Faleiros
2026-06-17 09:59:57 -03:00
parent ed1f129b07
commit ce72231560
4 changed files with 29 additions and 20 deletions

View File

@@ -204,6 +204,7 @@ test('getRfmAnalytics groups period buyers by their RFM tag before the selected
return {
rows: [
{
customer_key: '1',
name: 'Cliente Ontem',
phone: '1',
monetary: 5000,
@@ -213,6 +214,7 @@ test('getRfmAnalytics groups period buyers by their RFM tag before the selected
recency_days: endDate === '2026-06-13' ? 0 : 1
},
{
customer_key: '2',
name: 'Cliente Antigo',
phone: '2',
monetary: 50,
@@ -222,6 +224,7 @@ test('getRfmAnalytics groups period buyers by their RFM tag before the selected
recency_days: 164
},
{
customer_key: '3',
name: 'Cliente Medio',
phone: '3',
monetary: 100,
@@ -237,6 +240,7 @@ test('getRfmAnalytics groups period buyers by their RFM tag before the selected
return {
rows: [
{
customer_key: '1',
name: 'Cliente Ontem',
phone: '1',
monetary: 100,
@@ -245,6 +249,7 @@ test('getRfmAnalytics groups period buyers by their RFM tag before the selected
last_purchase_date: '2026-06-14'
},
{
customer_key: '4',
name: 'Cliente Novo no Periodo',
phone: '4',
monetary: 25,