Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/e2e/realtime-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const program = new Command()
.option("--publishable-key <key>", "Project publishable (anon) key")
.option("--secret-key <key>", "Project secret (service role) key")
.option("--db-password <password>", "Database password (required for staging/prod)")
.option("--env <env>", "Environment: local | staging | prod (default: prod)", "prod")
.option("--env <env>", "Environment: local | staging | prod | production (default: prod)", "prod")
.option("--domain <domain>", "Email domain for the test user", "example.com")
.option("--port <port>", "Override URL port (useful for local)")
.option("--url <url>", "Override project URL (e.g. http://127.0.0.1:54321)")
Expand All @@ -33,7 +33,8 @@ const opts = program.opts();
const ANON_KEY: string = opts.publishableKey;
const SERVICE_KEY: string = opts.secretKey;
const dbPassword: string = opts.dbPassword ?? "";
const { project, env, domain: EMAIL_DOMAIN, port, json: JSON_OUTPUT, test: TEST_FILTER, otel: OTEL_ARG, otelToken: OTEL_API_TOKEN, url: URL_ARG, dbUrl: DB_URL_ARG } = opts;
const { project, domain: EMAIL_DOMAIN, port, json: JSON_OUTPUT, test: TEST_FILTER, otel: OTEL_ARG, otelToken: OTEL_API_TOKEN, url: URL_ARG, dbUrl: DB_URL_ARG } = opts;
const env: string = opts.env === "production" ? "prod" : opts.env;

const TEST_CATEGORIES = TEST_FILTER
? TEST_FILTER.split(",").map((s: string) => s.trim().toLowerCase())
Expand Down
Loading