Skip to content

Commit 3010c16

Browse files
committed
fix: .env.example inline comments parsed as values, remove unused fireEvent import
- Moved inline comments on SUPABASE_JWT_SECRET and SUPABASE_SERVICE_ROLE_KEY to their own lines above the values. python-dotenv parses everything after the = sign including inline comments when values are unquoted. - Removed unused fireEvent import from ErrorBoundary.test.tsx
1 parent 4f5fb27 commit 3010c16

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.env.example

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ PINECONE_INDEX_NAME=codeintel
1919
# Get from: https://app.supabase.com/project/_/settings/api
2020
SUPABASE_URL=https://your-project.supabase.co
2121
SUPABASE_ANON_KEY=eyJ...
22-
SUPABASE_JWT_SECRET=your-jwt-secret # From Project Settings -> API -> JWT Secret
23-
SUPABASE_SERVICE_ROLE_KEY=eyJ... # From Project Settings -> API -> service_role key
22+
# From Project Settings -> API -> JWT Secret
23+
SUPABASE_JWT_SECRET=your-jwt-secret
24+
# From Project Settings -> API -> service_role key
25+
SUPABASE_SERVICE_ROLE_KEY=eyJ...
2426

2527
# Backend API
2628
API_KEY=change-this-secret-key-for-production

frontend/src/test/ErrorBoundary.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// smoke test: ErrorBoundary renders fallback on error, recovers on retry
22
import { describe, it, expect, vi } from 'vitest'
3-
import { render, screen, fireEvent } from '@testing-library/react'
3+
import { render, screen } from '@testing-library/react'
44
import { ErrorBoundary } from '@/components/ErrorBoundary'
55

66
function ThrowingChild({ shouldThrow }: { shouldThrow: boolean }) {

0 commit comments

Comments
 (0)