Skip to content

Commit

Permalink
fix: updating the common destination
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Feb 26, 2024
1 parent 7e80aa0 commit 14164c7
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
import { VERSION } from '../../../../../src/v0/destinations/facebook_pixel/config';
import {
overrideDestination,
transformResultBuilder,
generateTrackPayload,
} from '../../../testUtils';
import { overrideDestination, generateTrackPayload } from '../../../testUtils';

const commonDestination = {
ID: '12335',
Name: 'sample-destination',
DestinationDefinition: {
ID: '123',
Name: 'facebook_pixel',
DisplayName: 'Facebook Pixel',
Config: {},
},
WorkspaceID: '123',
Transformations: [],
Config: {
limitedDataUSage: true,
blacklistPiiProperties: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import { VERSION } from '../../../../../src/v0/destinations/facebook_pixel/config';
import { removeUndefinedAndNullValues } from '@rudderstack/integrations-lib';
import {
overrideDestination,
transformResultBuilder,
generateSimplifiedIdentifyPayload,
generateTrackPayload,
} from '../../../testUtils';
import { generateTrackPayload } from '../../../testUtils';

const commonDestination = {
ID: '12335',
Name: 'sample-destination',
DestinationDefinition: {
ID: '123',
Name: 'facebook_pixel',
DisplayName: 'Facebook Pixel',
Config: {},
},
WorkspaceID: '123',
Transformations: [],
Config: {
blacklistPiiProperties: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { VERSION } from '../../../../../src/v0/destinations/facebook_pixel/config';
import { removeUndefinedAndNullValues } from '@rudderstack/integrations-lib';
import {
overrideDestination,
transformResultBuilder,
generateSimplifiedIdentifyPayload,
} from '../../../testUtils';
import { overrideDestination } from '../../../testUtils';

const commonDestination = {
ID: '12335',
Name: 'sample-destination',
DestinationDefinition: {
ID: '123',
Name: 'facebook_pixel',
DisplayName: 'Facebook Pixel',
Config: {},
},
WorkspaceID: '123',
Transformations: [],
Config: {
blacklistPiiProperties: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import { VERSION } from '../../../../../src/v0/destinations/facebook_pixel/config';
import { generateSimplifiedPageOrScreenPayload, overrideDestination } from '../../../testUtils';
const commonDestination = {
ID: '12335',
Name: 'sample-destination',
DestinationDefinition: {
ID: '123',
Name: 'facebook_pixel',
DisplayName: 'Facebook Pixel',
Config: {},
},
WorkspaceID: '123',
Transformations: [],
Config: {
blacklistPiiProperties: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import { VERSION } from '../../../../../src/v0/destinations/facebook_pixel/config';
import { removeUndefinedAndNullValues } from '@rudderstack/integrations-lib';
import {
overrideDestination,
transformResultBuilder,
generateSimplifiedIdentifyPayload,
generateTrackPayload,
} from '../../../testUtils';
import { generateTrackPayload } from '../../../testUtils';

const commonDestination = {
ID: '12335',
Name: 'sample-destination',
DestinationDefinition: {
ID: '123',
Name: 'facebook_pixel',
DisplayName: 'Facebook Pixel',
Config: {},
},
WorkspaceID: '123',
Transformations: [],
Config: {
blacklistPiiProperties: [
{
Expand Down

0 comments on commit 14164c7

Please sign in to comment.