test: Correctly mock STRIPE_ENABLED #70
ci.yml
on: push
Test Suite
4m 9s
Lint & Type Check
2m 4s
Annotations
2 errors and 4 warnings
|
Test Suite
Process completed with exit code 1.
|
|
apps/api/src/services/__tests__/BillingLimitService.test.ts:
apps/api/src/app/stripe.ts#L11
Error: Neither apiKey nor config.authenticator provided
❯ Stripe._setAuthenticator node_modules/stripe/esm/stripe.core.js:155:23
❯ new Stripe node_modules/stripe/esm/stripe.core.js:93:14
❯ apps/api/src/app/stripe.ts:11:5
❯ apps/api/src/services/BillingLimitService.ts:5:1
|
|
Lint & Type Check:
apps/web/src/components/BillingLimits.tsx#L53
'error' is defined but never used
|
|
Lint & Type Check:
apps/web/src/components/BillingLimits.tsx#L1
'useCallback' is defined but never used
|
|
Lint & Type Check:
apps/api/src/controllers/Users.ts#L466
Unexpected any. Specify a different type
|
|
Test Suite
No files were found with the provided path: coverage/
**/*.test.ts.log. No artifacts will be uploaded.
|