Skip to content

Commit 5bdefaa

Browse files
committed
Fix tests
1 parent 00e679d commit 5bdefaa

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

sdk/src/__tests__/run-cancellation.test.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe('Run Cancellation Handling', () => {
2727
id: 'user-123',
2828
email: 'test@example.com',
2929
discord_id: null,
30-
referral_code: null,
3130
stripe_customer_id: null,
3231
banned: false,
3332
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -96,7 +95,6 @@ describe('Run Cancellation Handling', () => {
9695
id: 'user-123',
9796
email: 'test@example.com',
9897
discord_id: null,
99-
referral_code: null,
10098
stripe_customer_id: null,
10199
banned: false,
102100
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -191,7 +189,6 @@ describe('Run Cancellation Handling', () => {
191189
id: 'user-123',
192190
email: 'test@example.com',
193191
discord_id: null,
194-
referral_code: null,
195192
stripe_customer_id: null,
196193
banned: false,
197194
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -234,7 +231,6 @@ describe('Run Cancellation Handling', () => {
234231
id: 'user-123',
235232
email: 'test@example.com',
236233
discord_id: null,
237-
referral_code: null,
238234
stripe_customer_id: null,
239235
banned: false,
240236
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -273,7 +269,6 @@ describe('Run Cancellation Handling', () => {
273269
id: 'user-123',
274270
email: 'test@example.com',
275271
discord_id: null,
276-
referral_code: null,
277272
stripe_customer_id: null,
278273
banned: false,
279274
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -309,7 +304,6 @@ describe('Run Cancellation Handling', () => {
309304
id: 'user-123',
310305
email: 'test@example.com',
311306
discord_id: null,
312-
referral_code: null,
313307
stripe_customer_id: null,
314308
banned: false,
315309
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -361,7 +355,6 @@ describe('Run Cancellation Handling', () => {
361355
id: 'user-123',
362356
email: 'test@example.com',
363357
discord_id: null,
364-
referral_code: null,
365358
stripe_customer_id: null,
366359
banned: false,
367360
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -443,7 +436,6 @@ describe('Run Cancellation Handling', () => {
443436
id: 'user-123',
444437
email: 'test@example.com',
445438
discord_id: null,
446-
referral_code: null,
447439
stripe_customer_id: null,
448440
banned: false,
449441
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -514,7 +506,6 @@ describe('Run Cancellation Handling', () => {
514506
id: 'user-123',
515507
email: 'test@example.com',
516508
discord_id: null,
517-
referral_code: null,
518509
stripe_customer_id: null,
519510
banned: false,
520511
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -643,7 +634,6 @@ describe('Run Cancellation Handling', () => {
643634
id: 'user-123',
644635
email: 'test@example.com',
645636
discord_id: null,
646-
referral_code: null,
647637
stripe_customer_id: null,
648638
banned: false,
649639
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -727,7 +717,6 @@ describe('Run Cancellation Handling', () => {
727717
id: 'user-123',
728718
email: 'test@example.com',
729719
discord_id: null,
730-
referral_code: null,
731720
stripe_customer_id: null,
732721
banned: false,
733722
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -756,7 +745,6 @@ describe('Run Cancellation Handling', () => {
756745
id: 'user-123',
757746
email: 'test@example.com',
758747
discord_id: null,
759-
referral_code: null,
760748
stripe_customer_id: null,
761749
banned: false,
762750
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -823,7 +811,6 @@ describe('Run Cancellation Handling', () => {
823811
id: 'user-123',
824812
email: 'test@example.com',
825813
discord_id: null,
826-
referral_code: null,
827814
stripe_customer_id: null,
828815
banned: false,
829816
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -914,7 +901,6 @@ describe('Run Cancellation Handling', () => {
914901
id: 'user-123',
915902
email: 'test@example.com',
916903
discord_id: null,
917-
referral_code: null,
918904
stripe_customer_id: null,
919905
banned: false,
920906
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -998,7 +984,6 @@ describe('Run Cancellation Handling', () => {
998984
id: 'user-123',
999985
email: 'test@example.com',
1000986
discord_id: null,
1001-
referral_code: null,
1002987
stripe_customer_id: null,
1003988
banned: false,
1004989
created_at: new Date('2024-01-01T00:00:00Z'),

sdk/src/__tests__/run-error-preserves-history.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const setupDatabaseMocks = () => {
1919
id: 'user-123',
2020
email: 'test@example.com',
2121
discord_id: null,
22-
referral_code: null,
2322
stripe_customer_id: null,
2423
banned: false,
2524
created_at: new Date('2024-01-01T00:00:00Z'),

sdk/src/__tests__/run-file-filter.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ describe('CodebuffClientOptions fileFilter', () => {
7171
id: 'user-123',
7272
email: 'test@example.com',
7373
discord_id: null,
74-
referral_code: null,
7574
stripe_customer_id: null,
7675
banned: false,
7776
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -158,7 +157,6 @@ describe('CodebuffClientOptions fileFilter', () => {
158157
id: 'user-123',
159158
email: 'test@example.com',
160159
discord_id: null,
161-
referral_code: null,
162160
stripe_customer_id: null,
163161
banned: false,
164162
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -242,7 +240,6 @@ describe('CodebuffClientOptions fileFilter', () => {
242240
id: 'user-123',
243241
email: 'test@example.com',
244242
discord_id: null,
245-
referral_code: null,
246243
stripe_customer_id: null,
247244
banned: false,
248245
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -327,7 +324,6 @@ describe('CodebuffClientOptions fileFilter', () => {
327324
id: 'user-123',
328325
email: 'test@example.com',
329326
discord_id: null,
330-
referral_code: null,
331327
stripe_customer_id: null,
332328
banned: false,
333329
created_at: new Date('2024-01-01T00:00:00Z'),
@@ -400,7 +396,6 @@ describe('CodebuffClientOptions fileFilter', () => {
400396
id: 'user-123',
401397
email: 'test@example.com',
402398
discord_id: null,
403-
referral_code: null,
404399
stripe_customer_id: null,
405400
banned: false,
406401
created_at: new Date('2024-01-01T00:00:00Z'),

sdk/src/__tests__/run-handle-event.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ describe('CodebuffClient handleEvent / handleStreamChunk', () => {
2020
id: 'user-123',
2121
email: 'test@example.com',
2222
discord_id: null,
23-
referral_code: null,
2423
stripe_customer_id: null,
2524
banned: false,
2625
created_at: new Date('2024-01-01T00:00:00Z'),

sdk/src/__tests__/run-mcp-tool-filter.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ describe('MCP tool filtering', () => {
3939
id: 'user-123',
4040
email: 'test@example.com',
4141
discord_id: null,
42-
referral_code: null,
4342
stripe_customer_id: null,
4443
banned: false,
4544
created_at: new Date('2024-01-01T00:00:00Z'),

0 commit comments

Comments
 (0)