Files
kokken/scripts/export-data.mts
Alex Polo 570c41f465 Add comprehensive Playwright tests for calendar functionality
- Implemented tests for debugging browser cache vs server response.
- Verified calendar displays correct dates for November 2025.
- Added visual inspection screenshot for calendar layout.
- Created tests to ensure calendar fits within its container.
- Checked for correct styling of available and blocked dates.
- Debugged login form behavior and cookie handling.
- Added tests for forced browser refresh and cache verification.
- Conducted visual tests to compare actual calendar layout with expected.
- Enhanced logging for better traceability during test execution.
2025-11-07 14:09:22 +01:00

12 lines
261 B
TypeScript

import { data } from '../src/config/data.js';
import { writeFile } from 'fs/promises';
// Export data as JSON
await writeFile(
'./scripts/data-export.json',
JSON.stringify(data, null, 2),
'utf-8'
);
console.log('✓ Data exported to data-export.json');