GitHub Actions / JEST Tests
failed
Dec 9, 2024 in 0s
654 passed, 2 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test-results.xml | 327✅ | 1❌ | 21s | |
test-results.xml | 327✅ | 1❌ | 21s |
❌ 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✅ | 739ms | ||
AccountService | 1✅ | 529ms | ||
AffiliateController | 10✅ | 1s | ||
AffiliateService | 1✅ | 163ms | ||
AppController | 1✅ | 230ms | ||
AppService | 1✅ | 177ms | ||
AuthService | 20✅ | 2s | ||
BankaccountController | 1✅ | 737ms | ||
BankaccountService | 1✅ | 164ms | ||
BankTransactionsController | 4✅ | 1s | ||
BankTransactionsFileController | 1✅ | 1s | ||
BankTransactionsFileService | 1✅ | 682ms | ||
BankTransactionsService | 1✅ | 634ms | ||
BenefactorController | 1✅ | 351ms | ||
BenefactorService | 1✅ | 170ms | ||
BeneficiaryController | 8✅ | 466ms | ||
BeneficiaryService | 1✅ | 176ms | ||
CampaignApplicationController | 10✅ | 884ms | ||
CampaignApplicationService | 25✅ | 2s | ||
CampaignController | 18✅ | 2s | ||
CampaignFileController | 4✅ | 870ms | ||
CampaignFileService | 1✅ | 650ms | ||
CampaignFileService | 1✅ | 727ms | ||
CampaignNewsController | 1✅ | 570ms | ||
CampaignNewsFileController | 9✅ | 2s | ||
CampaignNewsService | 1✅ | 456ms | ||
CampaignService | 2✅ | 649ms | ||
CampaignTypesController | 7✅ | 503ms | ||
CampaignTypesService | 1✅ | 142ms | ||
CityController | 7✅ | 382ms | ||
CityService | 1✅ | 161ms | ||
CompanyController | 1✅ | 265ms | ||
CompanyService | 1✅ | 134ms | ||
CoordinatorController | 5✅ | 361ms | ||
CoordinatorService | 4✅ | 211ms | ||
CountryController | 8✅ | 652ms | ||
CountryService | 1✅ | 159ms | ||
DonationsController | 4✅ | 826ms | ||
DonationsService | 1✅ | 634ms | ||
DonationWishController | 1✅ | 346ms | ||
DonationWishService | 1✅ | 147ms | ||
EmailService enabled | 7✅ | 392ms | ||
ExpensesController | 7✅ | 1s | ||
ExpensesService | 1✅ | 295ms | ||
HealthController | 1✅ | 309ms | ||
ImportTransactionsTask | 15✅ | 4s | ||
ImportTransactionsTask | 2✅ | 963ms | ||
InfoRequestController | 1✅ | 508ms | ||
InfoRequestService | 1✅ | 321ms | ||
IrregularityController | 1✅ | 528ms | ||
IrregularityFileController | 1✅ | 569ms | ||
IrregularityFileService | 1✅ | 336ms | ||
IrregularityService | 1✅ | 342ms | ||
LoginController | 2✅ | 661ms | ||
MarketingNotificationsController | 23✅ | 4s | ||
OrganizerController | 1✅ | 372ms | ||
OrganizerService | 1✅ | 192ms | ||
PaypalController | 1✅ | 861ms | ||
PaypalService | 1✅ | 699ms | ||
PersonController | 1✅ | 458ms | ||
PersonService with enable client list | 5✅ | 413ms | ||
podkrepiTypes | 1✅ | 120ms | ||
PrismaService | 1✅ | 173ms | ||
ProviderLoginController | 2✅ | 461ms | ||
RecurringDonationController | 1✅ | 301ms | ||
RecurringDonationService | 5✅ | 430ms | ||
RefreshController | 2✅ | 427ms | ||
RegisterController | 2✅ | 658ms | ||
StripeController | 6✅ | 1❌ | 1s | |
StripePaymentService | 15✅ | 5s | ||
StripeService | 2✅ | 758ms | ||
SupportController | 3✅ | 704ms | ||
SupportService | 1✅ | 329ms | ||
Template service | 1✅ | 399ms | ||
TransferController | 11✅ | 672ms | ||
TransferService | 1✅ | 204ms | ||
VaultController | 8✅ | 666ms | ||
VaultService | 4✅ | 735ms | ||
WithdrawalController | 15✅ | 1s | ||
WithdrawalService | 1✅ | 666ms |
❌ 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: expect(received).toResolve()
❌ 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✅ | 606ms | ||
AccountService | 1✅ | 424ms | ||
AffiliateController | 10✅ | 1s | ||
AffiliateService | 1✅ | 178ms | ||
AppController | 1✅ | 190ms | ||
AppService | 1✅ | 152ms | ||
AuthService | 20✅ | 2s | ||
BankaccountController | 1✅ | 490ms | ||
BankaccountService | 1✅ | 231ms | ||
BankTransactionsController | 4✅ | 1s | ||
BankTransactionsFileController | 1✅ | 1s | ||
BankTransactionsFileService | 1✅ | 650ms | ||
BankTransactionsService | 1✅ | 604ms | ||
BenefactorController | 1✅ | 340ms | ||
BenefactorService | 1✅ | 193ms | ||
BeneficiaryController | 8✅ | 484ms | ||
BeneficiaryService | 1✅ | 312ms | ||
CampaignApplicationController | 10✅ | 827ms | ||
CampaignApplicationService | 25✅ | 2s | ||
CampaignController | 18✅ | 2s | ||
CampaignFileController | 4✅ | 1s | ||
CampaignFileService | 1✅ | 648ms | ||
CampaignFileService | 1✅ | 704ms | ||
CampaignNewsController | 1✅ | 494ms | ||
CampaignNewsFileController | 9✅ | 1s | ||
CampaignNewsService | 1✅ | 507ms | ||
CampaignService | 2✅ | 625ms | ||
CampaignTypesController | 7✅ | 541ms | ||
CampaignTypesService | 1✅ | 273ms | ||
CityController | 7✅ | 414ms | ||
CityService | 1✅ | 185ms | ||
CompanyController | 1✅ | 315ms | ||
CompanyService | 1✅ | 145ms | ||
CoordinatorController | 5✅ | 376ms | ||
CoordinatorService | 4✅ | 195ms | ||
CountryController | 8✅ | 553ms | ||
CountryService | 1✅ | 187ms | ||
DonationsController | 4✅ | 1s | ||
DonationsService | 1✅ | 602ms | ||
DonationWishController | 1✅ | 368ms | ||
DonationWishService | 1✅ | 152ms | ||
EmailService enabled | 7✅ | 437ms | ||
ExpensesController | 7✅ | 1s | ||
ExpensesService | 1✅ | 347ms | ||
HealthController | 1✅ | 297ms | ||
ImportTransactionsTask | 15✅ | 4s | ||
ImportTransactionsTask | 2✅ | 705ms | ||
InfoRequestController | 1✅ | 517ms | ||
InfoRequestService | 1✅ | 335ms | ||
IrregularityController | 1✅ | 483ms | ||
IrregularityFileController | 1✅ | 578ms | ||
IrregularityFileService | 1✅ | 385ms | ||
IrregularityService | 1✅ | 370ms | ||
LoginController | 2✅ | 843ms | ||
MarketingNotificationsController | 23✅ | 4s | ||
OrganizerController | 1✅ | 305ms | ||
OrganizerService | 1✅ | 170ms | ||
PaypalController | 1✅ | 935ms | ||
PaypalService | 1✅ | 588ms | ||
PersonController | 1✅ | 457ms | ||
PersonService with enable client list | 5✅ | 494ms | ||
podkrepiTypes | 1✅ | 103ms | ||
PrismaService | 1✅ | 172ms | ||
ProviderLoginController | 2✅ | 463ms | ||
RecurringDonationController | 1✅ | 317ms | ||
RecurringDonationService | 5✅ | 505ms | ||
RefreshController | 2✅ | 657ms | ||
RegisterController | 2✅ | 683ms | ||
StripeController | 6✅ | 1❌ | 1s | |
StripePaymentService | 15✅ | 6s | ||
StripeService | 2✅ | 708ms | ||
SupportController | 3✅ | 654ms | ||
SupportService | 1✅ | 273ms | ||
Template service | 1✅ | 620ms | ||
TransferController | 11✅ | 791ms | ||
TransferService | 1✅ | 157ms | ||
VaultController | 8✅ | 576ms | ||
VaultService | 4✅ | 825ms | ||
WithdrawalController | 15✅ | 1s | ||
WithdrawalService | 1✅ | 428ms |
❌ 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: expect(received).toResolve()
Annotations
Check failure on line 230 in apps/api/src/stripe/stripe.controller.spec.ts
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
test-results.xml
Error:
Error: expect(received).toResolve()
Raw output
Error: expect(received).toResolve()
Expected promise to resolve, however it rejected.
at Object.<anonymous> (/home/runner/work/api/api/apps/api/src/stripe/stripe.controller.spec.ts:230:63)
at Promise.then.completed (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/run.js:297:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/api/api/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/api/api/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/api/api/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/api/api/node_modules/jest-runner/build/testWorker.js:106:12)
Loading