Skip to content

Commit

Permalink
fix: remove unnecessary gcf data.ts & fix error messages for FB
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <[email protected]>
  • Loading branch information
Sai Sankeerth committed Sep 29, 2023
1 parent 4a84ee0 commit 191bba7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 263 deletions.
5 changes: 3 additions & 2 deletions test/integrations/destinations/fb/processor/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ export const data = [
status: 200,
body: [
{
error: '{"product_id":123} is not of valid type',
error:
'Value of properties.products.sub.product_id is not of valid type. It should be of type string',
statTags: {
destType: 'FB',
errorCategory: 'dataValidation',
Expand Down Expand Up @@ -436,7 +437,7 @@ export const data = [
status: 200,
body: [
{
error: 'properties.revenue is not of valid type',
error: 'Value of properties.revenue is not of valid type. It should be of type number',
statTags: {
destType: 'FB',
errorCategory: 'dataValidation',
Expand Down
3 changes: 2 additions & 1 deletion test/integrations/destinations/fb/router/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ export const data = [
},
batched: false,
statusCode: 400,
error: '{"product_id":123} is not of valid type',
error:
'Value of properties.products.sub.product_id is not of valid type. It should be of type string',
},
],
},
Expand Down
260 changes: 0 additions & 260 deletions test/integrations/destinations/google_cloud_function/data.ts

This file was deleted.

0 comments on commit 191bba7

Please sign in to comment.