Skip to content

refactor(stripe): Use PaymentIntent and subscriptions instead of Checkout sessions #994

refactor(stripe): Use PaymentIntent and subscriptions instead of Checkout sessions

refactor(stripe): Use PaymentIntent and subscriptions instead of Checkout sessions #994

GitHub Actions / JEST Tests failed Sep 13, 2024 in 1s

312 passed, 9 failed and 0 skipped

Tests failed

❌ test-results.xml

321 tests were completed in 20s with 312 passed, 9 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AccountController 2✅ 581ms
AccountService 1✅ 511ms
AffiliateController 10✅ 1s
AffiliateService 1✅ 260ms
AppController 1✅ 191ms
AppService 1✅ 169ms
AuthService 20✅ 2s
BankaccountController 1✅ 519ms
BankaccountService 1✅ 221ms
BankTransactionsController 4✅ 1s
BankTransactionsFileController 1✅ 897ms
BankTransactionsFileService 1✅ 573ms
BankTransactionsService 1✅ 608ms
BenefactorController 1✅ 341ms
BenefactorService 1✅ 346ms
BeneficiaryController 8✅ 486ms
BeneficiaryService 1✅ 149ms
CampaignApplicationController 10✅ 760ms
CampaignApplicationService 19✅ 1s
CampaignController 18✅ 2s
CampaignFileController 4✅ 1s
CampaignFileService 1✅ 561ms
CampaignFileService 1✅ 827ms
CampaignNewsController 1✅ 405ms
CampaignNewsFileController 9✅ 1s
CampaignNewsService 1✅ 515ms
CampaignService 2✅ 554ms
CampaignTypesController 7✅ 440ms
CampaignTypesService 1✅ 149ms
CityController 7✅ 449ms
CityService 1✅ 178ms
CompanyController 1✅ 264ms
CompanyService 1✅ 163ms
CoordinatorController 5✅ 338ms
CoordinatorService 4✅ 213ms
CountryController 8✅ 461ms
CountryService 1✅ 160ms
DonationsController 4✅ 912ms
DonationsService 1✅ 649ms
DonationWishController 1✅ 366ms
DonationWishService 1✅ 197ms
EmailService enabled 7✅ 353ms
ExpensesController 7✅ 989ms
ExpensesService 1✅ 335ms
HealthController 1✅ 293ms
ImportTransactionsTask 15✅ 4s
ImportTransactionsTask 2✅ 644ms
InfoRequestController 1✅ 521ms
InfoRequestService 1✅ 359ms
IrregularityController 1✅ 540ms
IrregularityFileController 1✅ 674ms
IrregularityFileService 1✅ 363ms
IrregularityService 1✅ 362ms
LoginController 2✅ 618ms
MarketingNotificationsController 23✅ 4s
OrganizerController 1✅ 298ms
OrganizerService 1✅ 182ms
PaypalController 1✅ 788ms
PaypalService 1✅ 935ms
PersonController 1✅ 426ms
PersonService with enable client list 5✅ 446ms
podkrepiTypes 1✅ 94ms
PrismaService 1✅ 156ms
ProviderLoginController 2✅ 472ms
RecurringDonationController 1✅ 316ms
RecurringDonationService 5✅ 499ms
RefreshController 2✅ 455ms
RegisterController 2✅ 726ms
StripeController 7❌ 1s
StripePaymentService 15✅ 6s
StripeService 2❌ 720ms
SupportController 3✅ 584ms
SupportService 1✅ 373ms
TransferController 11✅ 789ms
TransferService 1✅ 177ms
VaultController 8✅ 678ms
VaultService 4✅ 1s
WithdrawalController 15✅ 1s
WithdrawalService 1✅ 451ms

❌ StripeController

StripeController should be defined
  ❌ StripeController should be defined
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController createCheckoutSession should create stripe session for active campaign
  ❌ StripeController createCheckoutSession should create stripe session for active campaign
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController createCheckoutSession should not create stripe session for completed campaign
  ❌ StripeController createCheckoutSession should not create stripe session for completed campaign
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController createCheckoutSession should create stripe session for completed campaign if allowed
  ❌ StripeController createCheckoutSession should create stripe session for completed campaign if allowed
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController should request refund for donation
  ❌ StripeController should request refund for donation
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController should not call setupintents.update if campaign can't accept donations
  ❌ StripeController should not call setupintents.update if campaign can't accept donations
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeController should  subscription without creating new customer,products
  ❌ StripeController should  subscription without creating new customer,products
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

❌ StripeService

StripeService should be defined
  ❌ StripeService should be defined
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
StripeService should call stripe cancel service my subscription id
  ❌ StripeService should call stripe cancel service my subscription id
	Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Annotations

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController should be defined ► StripeController should be defined

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController createCheckoutSession should create stripe session for active campaign ► StripeController createCheckoutSession should create stripe session for active campaign

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController createCheckoutSession should not create stripe session for completed campaign ► StripeController createCheckoutSession should not create stripe session for completed campaign

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController createCheckoutSession should create stripe session for completed campaign if allowed ► StripeController createCheckoutSession should create stripe session for completed campaign if allowed

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController should request refund for donation ► StripeController should request refund for donation

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeController ► StripeController should not call setupintents.update if campaign can't accept donations ► StripeController should not call setupintents.update if campaign can't accept donations

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

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: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 10)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeService ► StripeService should be defined ► StripeService should be defined

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 11)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)

Check failure on line 0 in test-results.xml

See this annotation in the file changed.

@github-actions github-actions / JEST Tests

StripeService ► StripeService should call stripe cancel service my subscription id ► StripeService should call stripe cancel service my subscription id

Failed test found in:
  test-results.xml
Error:
  Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.
Raw output
Error: Nest can't resolve dependencies of the StripeService (Symbol(STRIPE_CLIENT_TOKEN), PersonService, CampaignService, DonationsService, ConfigService, ?). Please make sure that the argument RecurringDonationService at index [5] is available in the RootTestModule context.

Potential solutions:
- Is RootTestModule a valid NestJS module?
- If RecurringDonationService is a provider, is it part of the current RootTestModule?
- If RecurringDonationService is exported from a separate @Module, is that module imported within RootTestModule?
  @Module({
    imports: [ /* the Module containing RecurringDonationService */ ]
  })

    at TestingInjector.lookupComponentInParentModules (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:247:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:200:33)
    at TestingInjector.resolveComponentInstance (/home/runner/work/api/api/node_modules/@nestjs/testing/testing-injector.js:19:45)
    at resolveParam (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:120:38)
    at async Promise.all (index 5)
    at TestingInjector.resolveConstructorParams (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:135:27)
    at TestingInjector.loadInstance (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:61:13)
    at TestingInjector.loadProvider (/home/runner/work/api/api/node_modules/@nestjs/core/injector/injector.js:88:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:56:13
    at async Promise.all (index 11)
    at TestingInstanceLoader.createInstancesOfProviders (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
    at /home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:40:13
    at async Promise.all (index 1)
    at TestingInstanceLoader.createInstances (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
    at TestingInstanceLoader.createInstancesOfDependencies (/home/runner/work/api/api/node_modules/@nestjs/core/injector/instance-loader.js:22:13)