Skip to content

Commit

Permalink
chore: update test cases for branch (#3955)
Browse files Browse the repository at this point in the history
* fix: use correct endpoint for custom events

* chore: update test cases with types

* chore: address comment and remove redundant test cases

* chore: add branch name to updated list
  • Loading branch information
ItsSudip authored Jan 3, 2025
1 parent 49eb591 commit b3280ad
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 1,027 deletions.
4 changes: 3 additions & 1 deletion src/v0/destinations/adobe_analytics/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,9 @@ const processTrackEvent = (message, adobeEventName, destinationConfig, extras =
return {
...extras,
events: overrideEventString || adobeEventArr.join(','),
products: overrideProductString || (Array.isArray(prodString) && prodString.length > 0 ? prodString : undefined),
products:
overrideProductString ||
(Array.isArray(prodString) && prodString.length > 0 ? prodString : undefined),
};
};

Expand Down
1 change: 1 addition & 0 deletions test/integrations/component.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const INTEGRATIONS_WITH_UPDATED_TEST_STRUCTURE = [
'klaviyo',
'campaign_manager',
'criteo_audience',
'branch',
];

beforeAll(async () => {
Expand Down
Loading

0 comments on commit b3280ad

Please sign in to comment.