Skip to content

Commit

Permalink
chore: move destinations to component test suite (#2894)
Browse files Browse the repository at this point in the history
* chore: move clevertap, braze and am

* chore: move intercom test cases

* chore: add component test cases for marketo and sendgrid

* chore: resolve conflicts
  • Loading branch information
ItsSudip authored Dec 19, 2023
1 parent eea6511 commit a593192
Show file tree
Hide file tree
Showing 57 changed files with 31,584 additions and 25,906 deletions.
6 changes: 0 additions & 6 deletions test/__mocks__/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const {
const { sendgridGetRequestHandler } = require("./sendgrid.mock");
const { sendinblueGetRequestHandler } = require("./sendinblue.mock");
const { courierGetRequestHandler } = require("./courier.mock");
const { brazePostRequestHandler } = require("./braze.mock");

const urlDirectoryMap = {
"api.hubapi.com": "hs",
Expand Down Expand Up @@ -178,11 +177,6 @@ function post(url, payload) {
resolve(acPostRequestHandler(url, payload));
});
}
if(url.includes("braze.com")) {
return new Promise((resolve, reject) => {
resolve(brazePostRequestHandler(url, payload));
});
}
if (url.includes("https://a.klaviyo.com")) {
return new Promise((resolve, reject) => {
resolve(klaviyoPostRequestHandler(url, payload));
Expand Down
29 changes: 0 additions & 29 deletions test/__mocks__/braze.mock.js

This file was deleted.

34 changes: 0 additions & 34 deletions test/__mocks__/data/braze/proxy_response.json

This file was deleted.

46 changes: 0 additions & 46 deletions test/__mocks__/data/braze/response.json

This file was deleted.

15 changes: 0 additions & 15 deletions test/__mocks__/data/intercom/proxy_response.json

This file was deleted.

124 changes: 0 additions & 124 deletions test/__tests__/amplitude.test.js

This file was deleted.

76 changes: 0 additions & 76 deletions test/__tests__/braze.test.js

This file was deleted.

49 changes: 0 additions & 49 deletions test/__tests__/clevertap.test.js

This file was deleted.

Loading

0 comments on commit a593192

Please sign in to comment.