Skip to content

Commit

Permalink
fix: eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Feb 28, 2024
1 parent 59862ee commit 3e8790a
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/cdk/v2/destinations/ninetailed/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ const mappingConfig = getMappingConfig(ConfigCategories, __dirname);
const batchEndpoint =
'https://experience.ninetailed.co/v2/organizations/{{organisationId}}/environments/{{environment}}/events';

module.exports = { ConfigCategories, mappingConfig, batchEndpoint, MAX_BATCH_SIZE:200 };
module.exports = { ConfigCategories, mappingConfig, batchEndpoint, MAX_BATCH_SIZE: 200 };
22 changes: 11 additions & 11 deletions src/cdk/v2/destinations/ninetailed/data/trackMapping.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[
{
"sourceKeys": "properties",
"required": true,
"destKey": "properties"
},
{
"sourceKeys": "event",
"required": true,
"destKey": "event"
}
]
{
"sourceKeys": "properties",
"required": true,
"destKey": "properties"
},
{
"sourceKeys": "event",
"required": true,
"destKey": "event"
}
]
2 changes: 1 addition & 1 deletion test/integrations/destinations/ninetailed/commonConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ export const processInstrumentationErrorStatTags = {
feature: 'processor',
implementation: 'cdkV2',
module: 'destination',
destinationId: 'dummyDestId',
destinationId: 'dummyDestId',
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { destination, traits, commonInput, metadata, processInstrumentationErrorStatTags } from '../commonConfig';
import {
destination,
traits,
commonInput,
metadata,
processInstrumentationErrorStatTags,
} from '../commonConfig';
import { transformResultBuilder } from '../../../testUtils';
export const identify = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { processInstrumentationErrorStatTags , destination, context } from '../commonConfig';
import { processInstrumentationErrorStatTags, destination, context } from '../commonConfig';

export const validationFailures = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const pageProperties = {
};

export const traits = {
email: '[email protected]',
firstname: 'John',
lastname: 'Doe',
phone: '+1(123)456-7890',
gender: 'Male',
birthday: '1980-01-02',
city: 'San Francisco',
};
email: '[email protected]',
firstname: 'John',
lastname: 'Doe',
phone: '+1(123)456-7890',
gender: 'Male',
birthday: '1980-01-02',
city: 'San Francisco',
};

0 comments on commit 3e8790a

Please sign in to comment.