// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import '@testing-library/jest-dom'; import React from 'react'; import PrimaryButton from '../../../../src/components/ui/Button/PrimaryButton'; import lightTheme from '../../../../src/theme/light'; import { renderWithTheme } from '../../../test-helpers'; describe('Primary Button', () => { it('should render a primary Button', () => { const labelText = 'Primary Button'; const component = ; const { queryByTestId } = renderWithTheme(lightTheme, component); expect(queryByTestId('button')).toBeInTheDocument(); }); });