Skip to content

chore: Try to log in try catch clause

Sign in for the full log view
GitHub Actions / JEST Tests failed Dec 9, 2024 in 0s

327 passed, 1 failed and 0 skipped

Tests failed

❌ test-results.xml

328 tests were completed in 21s with 327 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AccountController 2✅ 567ms
AccountService 1✅ 460ms
AffiliateController 10✅ 997ms
AffiliateService 1✅ 320ms
AppController 1✅ 190ms
AppService 1✅ 184ms
AuthService 20✅ 2s
BankaccountController 1✅ 518ms
BankaccountService 1✅ 188ms
BankTransactionsController 4✅ 913ms
BankTransactionsFileController 1✅ 927ms
BankTransactionsFileService 1✅ 615ms
BankTransactionsService 1✅ 664ms
BenefactorController 1✅ 319ms
BenefactorService 1✅ 159ms
BeneficiaryController 8✅ 550ms
BeneficiaryService 1✅ 180ms
CampaignApplicationController 10✅ 1s
CampaignApplicationService 25✅ 2s
CampaignController 18✅ 2s
CampaignFileController 4✅ 859ms
CampaignFileService 1✅ 681ms
CampaignFileService 1✅ 658ms
CampaignNewsController 1✅ 394ms
CampaignNewsFileController 9✅ 994ms
CampaignNewsService 1✅ 646ms
CampaignService 2✅ 578ms
CampaignTypesController 7✅ 549ms
CampaignTypesService 1✅ 187ms
CityController 7✅ 486ms
CityService 1✅ 175ms
CompanyController 1✅ 354ms
CompanyService 1✅ 148ms
CoordinatorController 5✅ 338ms
CoordinatorService 4✅ 206ms
CountryController 8✅ 478ms
CountryService 1✅ 210ms
DonationsController 4✅ 1s
DonationsService 1✅ 886ms
DonationWishController 1✅ 346ms
DonationWishService 1✅ 171ms
EmailService enabled 7✅ 385ms
ExpensesController 7✅ 1s
ExpensesService 1✅ 428ms
HealthController 1✅ 289ms
ImportTransactionsTask 15✅ 4s
ImportTransactionsTask 2✅ 710ms
InfoRequestController 1✅ 529ms
InfoRequestService 1✅ 356ms
IrregularityController 1✅ 470ms
IrregularityFileController 1✅ 616ms
IrregularityFileService 1✅ 391ms
IrregularityService 1✅ 325ms
LoginController 2✅ 562ms
MarketingNotificationsController 23✅ 4s
OrganizerController 1✅ 328ms
OrganizerService 1✅ 218ms
PaypalController 1✅ 803ms
PaypalService 1✅ 600ms
PersonController 1✅ 365ms
PersonService with enable client list 5✅ 477ms
podkrepiTypes 1✅ 83ms
PrismaService 1✅ 156ms
ProviderLoginController 2✅ 568ms
RecurringDonationController 1✅ 333ms
RecurringDonationService 5✅ 412ms
RefreshController 2✅ 665ms
RegisterController 2✅ 669ms
StripeController 6✅ 1❌ 1s
StripePaymentService 15✅ 6s
StripeService 2✅ 683ms
SupportController 3✅ 591ms
SupportService 1✅ 329ms
Template service 1✅ 660ms
TransferController 11✅ 759ms
TransferService 1✅ 199ms
VaultController 8✅ 670ms
VaultService 4✅ 701ms
WithdrawalController 15✅ 1s
WithdrawalService 1✅ 498ms

❌ StripeController

StripeController should be defined
  ✅ StripeController should be defined
StripeController createCheckoutSession should create stripe session for active campaign
  ✅ StripeController createCheckoutSession should create stripe session for active campaign
StripeController createCheckoutSession should not create stripe session for completed campaign
  ✅ StripeController createCheckoutSession should not create stripe session for completed campaign
StripeController createCheckoutSession should create stripe session for completed campaign if allowed
  ✅ StripeController createCheckoutSession should create stripe session for completed campaign if allowed
StripeController should request refund for donation
  ✅ StripeController should request refund for donation
StripeController should not call setupintents.update if no campaignId is provided
  ✅ StripeController should not call setupintents.update if no campaignId is provided
StripeController should  subscription without creating new customer,products
  ❌ StripeController should  subscription without creating new customer,products
	Error: {"matcherResult":{"pass":false,"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"},"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"}

Annotations

Check failure on line 239 in apps/api/src/stripe/stripe.controller.spec.ts

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController should subscription without creating new customer,products ► StripeController should subscription without creating new customer,products

Failed test found in:
  test-results.xml
Error:
  Error: {"matcherResult":{"pass":false,"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"},"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"}
Raw output
Error: {"matcherResult":{"pass":false,"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"},"message":"expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n"}
    at Object.<anonymous> (/home/runner/work/api/api/apps/api/src/stripe/stripe.controller.spec.ts:239:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)