import React from 'react';
import { render, screen } from '@testing-library/react';
import CustomToastMessage from './CustomeToastMessage';

describe('CustomToastMessage', () => {
  it('renders the provided message in toast body', () => {
    render(<CustomToastMessage message="Saved successfully" />);
    expect(screen.getByText('Saved successfully')).toBeInTheDocument();
  });
});
