import React from 'react'; import { render } from '@testing-library/react'; import BpkButton from 'backpack-transpiled/bpk-component-button'; describe('', () => { it('should render correctly', () => { const { container } = render(This is a button); expect(container).toMatchSnapshot(); }); });