Skip to content

Commit

Permalink
feat: audit package (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck authored Jan 17, 2023
1 parent f2828ce commit 882f800
Show file tree
Hide file tree
Showing 41 changed files with 2,423 additions and 2,288 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ information for each package below:

* [Accounts](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/accounts/README.md)
* [Applications](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/applications/README.md)
* [Audit](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/audit/README.md)
* [Auth](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/auth/README.md)
* [JWT](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/jwt/README.md)
* [Messages](https://github.com/Vonage/vonage-node-sdk/blob/3.x/packages/messages/README.md)
Expand All @@ -43,7 +44,7 @@ The following is a list of Vonage APIs and whether the Node Server SDK provides
| Account API | General Availability ||
| Alerts API | General Availability ||
| Application API | General Availability ||
| Audit API | Beta ||
| Audit API | Beta ||
| Conversation API | Beta ||
| Dispatch API | Beta ||
| External Accounts API | Beta ||
Expand Down
144 changes: 79 additions & 65 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,72 +1,86 @@
import type { Config } from '@jest/types';

const config: Config.InitialOptions = {
coverageDirectory: '<rootDir>/coverage/',
projects: [
{
displayName: "ACCOUNTS",
testMatch: ['<rootDir>/packages/accounts/__tests__/**/*.test.ts'],
},
{
displayName: "APPLICATIONS",
testMatch: ['<rootDir>/packages/applications/__tests__/**/*.test.ts'],
},
{
displayName: "AUTH",
testMatch: ['<rootDir>/packages/auth/__tests__/**/*.test.ts'],
},
{
displayName: "JWT",
testMatch: ['<rootDir>/packages/jwt/__tests__/**/*.test.ts'],
},
{
displayName: "MESSAGES",
testMatch: ['<rootDir>/packages/messages/__tests__/**/*.test.ts'],
},
{
displayName: "NUMBER INSIGHTS",
testMatch: ['<rootDir>/packages/number-insights/__tests__/**/*.test.ts'],
},
{
displayName: "NUMBERS",
testMatch: ['<rootDir>/packages/numbers/__tests__/**/*.test.ts'],
},
{
displayName: "PRICING",
testMatch: ['<rootDir>/packages/pricing/__tests__/**/*.test.ts'],
},
{
displayName: "SERVER CLIENT",
testMatch: ['<rootDir>/packages/server-client/__tests__/**/*.test.ts'],
},
{
displayName: "SERVER SDK",
testMatch: ['<rootDir>/packages/server-sdk/__tests__/**/*.test.ts'],
},
{
displayName: "SMS",
testMatch: ['<rootDir>/packages/sms/__tests__/**/*.test.ts'],
},
{
displayName: "VERIFY",
testMatch: ['<rootDir>/packages/verify/__tests__/**/*.test.ts'],
},
{
displayName: "VETCH",
testMatch: ['<rootDir>/packages/vetch/__tests__/**/*.test.ts'],
},
{
displayName: "VIDEO",
testMatch: ['<rootDir>/packages/video/__tests__/**/*.test.ts'],
},
{
displayName: "VOICE",
testMatch: ['<rootDir>/packages/voice/__tests__/**/*.test.ts'],
},
],
moduleNameMapper: {
'@vonage/(.+)': '<rootDir>/packages/$1/lib',
coverageDirectory: '<rootDir>/coverage/',
projects: [
{
displayName: 'ACCOUNTS',
testMatch: ['<rootDir>/packages/accounts/__tests__/**/*.test.ts'],
},
{
displayName: 'APPLICATIONS',
testMatch: [
'<rootDir>/packages/applications/__tests__/**/*.test.ts',
],
},
{
displayName: 'AUDIT',
testMatch: ['<rootDir>/packages/audit/__tests__/**/*.test.ts'],
},
{
displayName: 'AUDIT',
testMatch: ['<rootDir>/packages/audit/tests__/**/*.test.ts'],
},
{
displayName: 'AUTH',
testMatch: ['<rootDir>/packages/auth/__tests__/**/*.test.ts'],
},
{
displayName: 'JWT',
testMatch: ['<rootDir>/packages/jwt/__tests__/**/*.test.ts'],
},
{
displayName: 'MESSAGES',
testMatch: ['<rootDir>/packages/messages/__tests__/**/*.test.ts'],
},
{
displayName: 'NUMBER INSIGHTS',
testMatch: [
'<rootDir>/packages/number-insights/__tests__/**/*.test.ts',
],
},
{
displayName: 'NUMBERS',
testMatch: ['<rootDir>/packages/numbers/__tests__/**/*.test.ts'],
},
{
displayName: 'PRICING',
testMatch: ['<rootDir>/packages/pricing/__tests__/**/*.test.ts'],
},
{
displayName: 'SERVER CLIENT',
testMatch: [
'<rootDir>/packages/server-client/__tests__/**/*.test.ts',
],
},
{
displayName: 'SERVER SDK',
testMatch: ['<rootDir>/packages/server-sdk/__tests__/**/*.test.ts'],
},
{
displayName: 'SMS',
testMatch: ['<rootDir>/packages/sms/__tests__/**/*.test.ts'],
},
{
displayName: 'VERIFY',
testMatch: ['<rootDir>/packages/verify/__tests__/**/*.test.ts'],
},
{
displayName: 'VETCH',
testMatch: ['<rootDir>/packages/vetch/__tests__/**/*.test.ts'],
},
{
displayName: 'VIDEO',
testMatch: ['<rootDir>/packages/video/__tests__/**/*.test.ts'],
},
{
displayName: 'VOICE',
testMatch: ['<rootDir>/packages/voice/__tests__/**/*.test.ts'],
},
],
moduleNameMapper: {
'@vonage/(.+)': '<rootDir>/packages/$1/lib',
},
};

export default config;
Loading

0 comments on commit 882f800

Please sign in to comment.