import { fireEvent, render, screen } from '@testing-library/react' import * as React from 'react' import { Plan } from '../../../type' import Button from './button' describe('CloudPlanButton', () => { describe('Disabled state', () => { it('should disable button and hide arrow when plan is not available', () => { const handleGetPayUrl = vi.fn() // Arrange render(