Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/__mocks__/@t3-oss/env-nextjs.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/__mocks__/@t3-oss/env-nextjs.ts |
| Original SHA-256 | 5e4661d4ad27cb70a6ef4959d9159a24f9cfb75566188d9b783f6b1e2306a442 |
| Git blob SHA | 266ebb9390a7a28a3fabd965d268086796fab1e6 |
| Reading-copy SHA-256 | 5e4661d4ad27cb70a6ef4959d9159a24f9cfb75566188d9b783f6b1e2306a442 |
Recovered source transcript
Download complete source text ↓13 lines · 0.4 KB
// Mock for @t3-oss/env-nextjs to avoid ESM issues in Jest
/**
* Creates a mock environment configuration for testing
*/
export function createEnv(config: any) {
// Return a mock object with the expected environment variables
return {
KV_REST_API_URL: process.env.KV_REST_API_URL || '',
KV_REST_API_TOKEN: process.env.KV_REST_API_TOKEN || ''
}
}