import React from 'react';
import { render } from '@testing-library/react';
import ResetPasswordPage from '../../components/auth/ResetPasswordPage';

describe('Visual Baseline: ResetPasswordPage', () => {
  beforeEach(() => {
    window.history.replaceState({}, 'Test', '/reset-password?token=demo');
  });

  test('matches baseline layout for password reset screen', () => {
    const { container } = render(React.createElement(ResetPasswordPage));
    expect(container.firstChild).toMatchSnapshot();
  });
});
