chore(testing): enable non prod analytics

This commit is contained in:
Sabe Jones
2024-05-07 20:15:16 -05:00
parent 32cb201b81
commit 61d151d2bb

View File

@@ -353,14 +353,10 @@ const mockAnalyticsService = {
// Return the production or mock service based on the current environment
function getServiceByEnvironment () {
if (nconf.get('IS_PROD')) {
return {
track,
trackPurchase,
};
}
return mockAnalyticsService;
return {
track,
trackPurchase,
};
}
export {