Skip to content

Commit

Permalink
chore: test cases for various content-types
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayteki95 committed Dec 10, 2024
1 parent 35a6c4b commit 41f700a
Show file tree
Hide file tree
Showing 3 changed files with 437 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"prettier.requireConfig": true,
"prettier.configPath": ".prettierrc",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true
},
"[javascript]": {
Expand Down
5 changes: 5 additions & 0 deletions test/integrations/destinations/webhook/mocks.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const webhookUtils = require('../../../../src/v0/destinations/webhook/utils');

export const defaultMockFns = (_) => {
jest.spyOn(webhookUtils, 'isFeatureEnabled').mockResolvedValue(true);
};
Loading

0 comments on commit 41f700a

Please sign in to comment.