Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra shekar Varkala committed Jan 22, 2024
1 parent 82d3e8f commit 4221905
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 26 deletions.
1 change: 1 addition & 0 deletions test/integrations/component.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const testRoute = async (route, tcData: TestCaseData) => {
tcData.name != 'hs' &&
tcData.name != 'iterable' &&
tcData.name != 'klaviyo' &&
tcData.name != 'tiktok_ads' &&
tcData.name != 'google_adwords_offline_conversions'
) {
assertRouterOutput(response.body.output, tcData.input.request.body.input);
Expand Down
88 changes: 62 additions & 26 deletions test/integrations/destinations/tiktok_ads/router/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 5,
jobId: 1,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -761,7 +762,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 1,
jobId: 2,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -812,7 +814,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 2,
jobId: 3,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -860,6 +863,7 @@ export const data = [
},
metadata: {
jobId: 4,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -998,10 +1002,12 @@ export const data = [
},
metadata: [
{
jobId: 5,
jobId: 1,
userId: 'u1',
},
{
jobId: 1,
jobId: 2,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -1104,10 +1110,12 @@ export const data = [
},
metadata: [
{
jobId: 2,
jobId: 3,
userId: 'u1',
},
{
jobId: 4,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -1181,7 +1189,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 5,
jobId: 1,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1228,7 +1237,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 1,
jobId: 2,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1275,7 +1285,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 2,
jobId: 3,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1323,6 +1334,7 @@ export const data = [
},
metadata: {
jobId: 4,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1460,14 +1472,17 @@ export const data = [
files: {},
},
metadata: [
{
jobId: 5,
},
{
jobId: 1,
userId: 'u1',
},
{
jobId: 2,
userId: 'u1',
},
{
jobId: 3,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -1538,6 +1553,7 @@ export const data = [
metadata: [
{
jobId: 4,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -1606,7 +1622,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 5,
jobId: 1,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1657,7 +1674,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 1,
jobId: 2,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1708,7 +1726,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 2,
jobId: 3,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1756,6 +1775,7 @@ export const data = [
},
metadata: {
jobId: 4,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -1894,13 +1914,16 @@ export const data = [
},
metadata: [
{
jobId: 5,
jobId: 1,
userId: 'u1',
},
{
jobId: 2,
jobId: 3,
userId: 'u1',
},
{
jobId: 4,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -1935,7 +1958,8 @@ export const data = [
error: 'Event name (abc) is not valid, must be mapped to one of standard events',
metadata: [
{
jobId: 1,
jobId: 2,
userId: 'u1',
},
],
statTags: {
Expand Down Expand Up @@ -2003,7 +2027,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 5,
jobId: 1,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2054,7 +2079,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 1,
jobId: 2,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2106,7 +2132,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 2,
jobId: 3,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2154,6 +2181,7 @@ export const data = [
},
metadata: {
jobId: 4,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2292,10 +2320,12 @@ export const data = [
},
metadata: [
{
jobId: 5,
jobId: 1,
userId: 'u1',
},
{
jobId: 1,
jobId: 2,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -2370,6 +2400,7 @@ export const data = [
metadata: [
{
jobId: 4,
userId: 'u1',
},
],
batched: true,
Expand Down Expand Up @@ -2453,7 +2484,8 @@ export const data = [
],
metadata: [
{
jobId: 2,
jobId: 3,
userId: 'u1',
},
],
batched: false,
Expand Down Expand Up @@ -2520,7 +2552,8 @@ export const data = [
sentAt: '2019-10-14T09:03:22.563Z',
},
metadata: {
jobId: 5,
jobId: 1,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2573,6 +2606,7 @@ export const data = [
},
metadata: {
jobId: 2,
userId: 'u1',
},
destination: {
Config: {
Expand Down Expand Up @@ -2660,7 +2694,8 @@ export const data = [
],
metadata: [
{
jobId: 5,
jobId: 1,
userId: 'u1',
},
],
batched: false,
Expand Down Expand Up @@ -2745,6 +2780,7 @@ export const data = [
metadata: [
{
jobId: 2,
userId: 'u1',
},
],
batched: false,
Expand Down

0 comments on commit 4221905

Please sign in to comment.