Score RFV clients without phone
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m46s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m46s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user