const resetUrl = process.env.E2E_RESET_URL || 'http://localhost:3001/__e2e__/reset'; async function resetTestData() { const response = await fetch(resetUrl, { method: 'POST' }); if (!response.ok) { throw new Error(`Test data reset failed with HTTP ${response.status}`); } } module.exports = { resetTestData };