Skip to content

Commit

Permalink
adapts the unit tests to expect also the time value
Browse files Browse the repository at this point in the history
  • Loading branch information
manani_adobe committed Jan 31, 2025
1 parent 316f88b commit ad8c656
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"trafficacquisition": {
"total": 2400,
"earned": 0,
"maxTimeDelta": 33324,
"owned": 2400,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -62,6 +63,7 @@
"trafficacquisition": {
"total": 3100,
"earned": 0,
"maxTimeDelta": 0,
"owned": 3100,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -92,6 +94,7 @@
"trafficacquisition": {
"total": 1800,
"earned": 0,
"maxTimeDelta": 841,
"owned": 1800,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -123,6 +126,7 @@
"trafficacquisition": {
"total": 700,
"earned": 0,
"maxTimeDelta": 18637,
"owned": 700,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -152,6 +156,7 @@
"trafficacquisition": {
"total": 200,
"earned": 0,
"maxTimeDelta": 38409,
"owned": 200,
"paid": 0,
"sources": [
Expand All @@ -177,6 +182,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 18813,
"owned": 100,
"paid": 0,
"sources": [
Expand All @@ -202,6 +208,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 24548,
"owned": 100,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -231,6 +238,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 83321,
"owned": 100,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -260,6 +268,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 80312,
"owned": 100,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -289,6 +298,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 34204,
"owned": 100,
"paid": 0,
"sources": [
Expand Down Expand Up @@ -318,6 +328,7 @@
"trafficacquisition": {
"total": 100,
"earned": 0,
"maxTimeDelta": 50435,
"owned": 100,
"paid": 0,
"sources": [
Expand All @@ -328,4 +339,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
"page": 0.09850746268656717
}
},
{
"type": "pageOnTime",
"value": {
"time": 0
},
"vendor": "*"
},
{
"type": "traffic",
"vendor": "google",
Expand All @@ -43,6 +50,13 @@
"page": 0
}
},
{
"type": "pageOnTime",
"value": {
"time": 0
},
"vendor": "google"
},
{
"type": "traffic",
"vendor": "tiktok",
Expand All @@ -59,6 +73,13 @@
"value": {
"page": 0.3333333333333333
}
},
{
"type": "pageOnTime",
"value": {
"time": 0
},
"vendor": "tiktok"
}
]
}
Expand Down
Loading

0 comments on commit ad8c656

Please sign in to comment.