Skip to content

Commit

Permalink
chore: address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip committed Feb 18, 2025
1 parent 9b87dfb commit 0c969a6
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const {
getConsentsDataFromIntegrationObj,
getCallConversionPayload,
} = require('./utils');
const { API_VERSION } = require('./config');

const API_VERSION = 'v18';

const getTestMessage = () => {
let message = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {
generateProxyV1Payload,
} from '../../../testUtils';
import { ProxyV1TestData } from '../../../testTypes';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';

const API_VERSION = 'v18';

const headers = {
Authorization: 'Bearer abcd1234',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';
const API_VERSION = 'v18';

import {
generateProxyV1Payload,
generateProxyV0Payload,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { API_VERSION } from '../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';
const API_VERSION = 'v18';

export const networkCallsData = [
{
httpReq: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';
const API_VERSION = 'v18';
export const data = [
{
name: 'google_adwords_enhanced_conversions',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';
const API_VERSION = 'v18';

const events = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {
generateProxyV0Payload,
generateProxyV1Payload,
} from '../../../testUtils';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_offline_conversions/config';

const API_VERSION = 'v18';

const transactionAttribute = {
CUSTOM_KEY: 'CUSTOM_VALUE',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {
generateProxyV1Payload,
generateProxyV0Payload,
} from '../../../testUtils';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_offline_conversions/config';

const API_VERSION = 'v18';

const commonHeaders = {
Authorization: 'Bearer abcd1234',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { API_VERSION } from '../../../../src/v0/destinations/google_adwords_offline_conversions/config';
const API_VERSION = 'v18';

const commonResponse = {
status: 401,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { timestampMock } from '../mocks';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_offline_conversions/config';

const API_VERSION = 'v18';

export const data = [
{
name: 'google_adwords_offline_conversions',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { timestampMock } from '../mocks';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_enhanced_conversions/config';

const API_VERSION = 'v18';

export const data = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
generateProxyV1Payload,
} from '../../../testUtils';

import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_remarketing_lists/config';
const API_VERSION = 'v18';

export const commonHeaders = {
Authorization: 'Bearer dummy-access',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { generateMetadata, generateProxyV1Payload } from '../../../testUtils';
import { commonHeaders, commonParams, validRequestPayload1 } from './business';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_remarketing_lists/config';

const API_VERSION = 'v18';

const commonStatTags = {
destType: 'GOOGLE_ADWORDS_REMARKETING_LISTS',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { API_VERSION } from '../../../../src/v0/destinations/google_adwords_remarketing_lists/config';
const API_VERSION = 'v18';

export const networkCallsData = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_remarketing_lists/config';
const API_VERSION = 'v18';

export const data = [
{
name: 'google_adwords_remarketing_lists',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {
rETLRecordRouterRequestVDMv2General,
rETLRecordRouterRequestVDMv2UserId,
} from './record';
import { API_VERSION } from '../../../../../src/v0/destinations/google_adwords_remarketing_lists/config';

const API_VERSION = 'v18';

export const data = [
{
Expand Down

0 comments on commit 0c969a6

Please sign in to comment.