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