Skip to content

.env.local loaded in test environment causes test flakiness #466

Description

@Junman140

jest.config.js: If dotenv loads .env.local before .env.test, local developer overrides (e.g., DATABASE_URL pointing to a personal DB) cause test failures that only that developer sees.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions