dev1/backend/tests/components_runner.mjs

25 lines
1.5 KiB
JavaScript

await component('Auth & Profile', [
() => feature('SignUp → SignIn → Profile (cookie, no id leakage)',
'backend/tests/auth_signup_signin.mjs'),
]);
// ─────────────────────────────────────────────────────────────
// Component: Support & Messaging (server3)
// Feature: /api/support auth, dedupe, rate limits, negatives
// ─────────────────────────────────────────────────────────────
await component('Support & Messaging', [
() => feature('Support: auth/dup/rate-limit/negatives',
'backend/tests/support_limits.mjs', { BURST: process.env.BURST || '20' }),
]);
// ─────────────────────────────────────────────────────────────
// Component: Subscription & Paywall (server3)
// Feature: status flags (no PII, default false/false)
// ─────────────────────────────────────────────────────────────
await component('Subscription & Paywall', [
() => feature('Subscription status flags', 'backend/tests/subscription_status.mjs'),
]);