Skip to content

Commit 0565045

Browse files
committed
Intergation tests
1 parent d769334 commit 0565045

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

test/integration/cases/billing/fail.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ describe('Fail webhook', () => {
107107
payload: {
108108
workspaceId: workspace._id,
109109
amount: 200,
110+
currency: 'USD',
110111
userId: user._id,
111112
cardPan: '5367',
112113
},

test/integration/cases/billing/pay.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ describe('Pay webhook', () => {
157157
payload: {
158158
workspaceId: new ObjectId(),
159159
amount: 10,
160+
currency: 'USD',
160161
userId: user._id,
161162
cardPan: '2456',
162163
},

test/integration/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6262

6363
/* Advanced Options */
64-
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
64+
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
65+
"typeRoots": [
66+
"./types/global.d.ts"
67+
],
6568
}
6669
}

0 commit comments

Comments
 (0)