diff --git a/test/integration/cases/billing/fail.test.ts b/test/integration/cases/billing/fail.test.ts index fe9303ac..a321ec19 100644 --- a/test/integration/cases/billing/fail.test.ts +++ b/test/integration/cases/billing/fail.test.ts @@ -107,6 +107,7 @@ describe('Fail webhook', () => { payload: { workspaceId: workspace._id, amount: 200, + currency: 'USD', userId: user._id, cardPan: '5367', }, diff --git a/test/integration/cases/billing/pay.test.ts b/test/integration/cases/billing/pay.test.ts index 7f62d3e5..d1e92f3f 100644 --- a/test/integration/cases/billing/pay.test.ts +++ b/test/integration/cases/billing/pay.test.ts @@ -157,6 +157,7 @@ describe('Pay webhook', () => { payload: { workspaceId: new ObjectId(), amount: 10, + currency: 'USD', userId: user._id, cardPan: '2456', }, diff --git a/test/integration/tsconfig.json b/test/integration/tsconfig.json index 9c0c2c4d..67bac2b2 100644 --- a/test/integration/tsconfig.json +++ b/test/integration/tsconfig.json @@ -61,6 +61,9 @@ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ /* Advanced Options */ - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */, + "typeRoots": [ + "./types/global.d.ts" + ], } }