mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
- Remove all console.log statements from E2E test files - Replace console.error with throw new Error for proper error handling - Remove console.warn statements - Fix unused variable linting errors in plugin tests
12 lines
351 B
TypeScript
12 lines
351 B
TypeScript
import { FullConfig } from '@playwright/test';
|
|
|
|
const globalSetup = async (config: FullConfig): Promise<void> => {
|
|
// Set test environment variables
|
|
process.env.TZ = 'Europe/Berlin';
|
|
process.env.NODE_ENV = 'test';
|
|
console.log(`Running tests with ${config.workers} workers`);
|
|
|
|
// Any other global setup needed
|
|
};
|
|
|
|
export default globalSetup;
|