Deep-audit + build-out across all products to fully-usable state; all typecheck clean. - gitgram-web (99): wire Store feature to real endpoints, close 9 gaps - gitgram-backend (100): close 8 flow gaps, document infra-provisioning items - gitgram-mobile (90): fix API base-URL/path mismatch (404s) + copy proximity components into components/proximity wired to real screens; 15 gaps, +react-native-svg - aitm-core (95): wire natural-language CLI flow end-to-end; 11 gaps - aitm-api (97): fix teams metadata runtime bug; copy a2a-js server/client/grpc into src/a2a and wire A2A route; crates.io package search; 8 gaps - aitm-mcp (100): fix A2A client/server card mismatch; 9 gaps - aitm-website (95): build missing docs routes; 9 gaps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
797 B
TypeScript
18 lines
797 B
TypeScript
/**
|
|
* Per-worker E2E env setup.
|
|
*
|
|
* globalSetup runs in a separate process, so env vars it sets do not reach the
|
|
* Jest worker processes that import the app. This file runs inside each worker
|
|
* (via `setupFiles`) before the module graph loads, ensuring the app sees the
|
|
* correct test configuration.
|
|
*/
|
|
process.env.NODE_ENV = 'test';
|
|
process.env.JWT_SECRET =
|
|
process.env.JWT_SECRET || 'e2e-test-secret-key-at-least-32-characters-long-x';
|
|
process.env.JWT_REFRESH_SECRET =
|
|
process.env.JWT_REFRESH_SECRET || 'e2e-test-refresh-secret-key-at-least-32-chars-x';
|
|
process.env.FRONTEND_URL = process.env.FRONTEND_URL || 'http://localhost:3000';
|
|
process.env.AI_ANALYSIS_ENABLED = process.env.AI_ANALYSIS_ENABLED || 'false';
|
|
process.env.DISABLE_RATE_LIMIT = 'true';
|
|
delete process.env.SENTRY_DSN;
|