You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`${name} expires ${expirationDate} at 00:00. Owners: ${owners.join(
100
-
", ",
101
-
)}`,
102
-
)
103
-
.join("\n")}
87
+
`${
88
+
expiryChecks.within1Day.length ? "Expiring today at midnight:" : ""
89
+
}`,
90
+
`${expiryChecks.within1Day
91
+
.map(({ name, owners, description })=>
92
+
[
93
+
`\tName: ${name}`,
94
+
`Description: ${description}`,
95
+
`Owners: ${owners.join(", ")}`,
96
+
].join("\n\t"),
97
+
)
98
+
.join("\n\n")}`,
104
99
105
-
If you are not ready to remove a test yet but are happy to leave it expired for now, please turn it OFF in the code (https://github.com/guardian/dotcom-rendering/blob/main/ab-testing/config/abTests.ts)
100
+
`${
101
+
expiryChecks.within2Days.length
102
+
? "Expiring tomorrow at midnight:"
103
+
: ""
104
+
}`,
105
+
`${expiryChecks.within2Days
106
+
.map(({ name, owners, description })=>
107
+
[
108
+
`\tName: ${name}`,
109
+
`Description: ${description}`,
110
+
`Owners: ${owners.join(", ")}`,
111
+
].join("\n\t"),
112
+
)
113
+
.join("\n\n")}`,
106
114
107
-
See https://frontend.gutools.co.uk/analytics/ab-testing for more details
108
-
`;
115
+
`If you are not ready to remove a test yet but are happy to leave it expired for now, please turn it OFF in the code (https://github.com/guardian/dotcom-rendering/blob/main/ab-testing/config/abTests.ts)\n`,
116
+
`See https://frontend.gutools.co.uk/analytics/ab-testing for more details\n`,
0 commit comments