/**
 * Jest Test Setup
 * Konfiguriert Testumgebung für H5P Service Tests
 *
 * Note: Uses global Jest functions to avoid ESM import issues
 * with setupFilesAfterEnv in some Jest versions.
 */

// Timeout für alle Tests erhöhen (global.jest is available in Jest environment)
if (typeof jest !== 'undefined') {
  jest.setTimeout(10000);
}

// Before all tests
beforeAll(() => {
  console.log('Starting H5P Service Tests...');
});

// After all tests
afterAll(() => {
  console.log('H5P Service Tests Completed');
});
