import { render } from '@react-email/render'; import { Button } from './index.js'; describe('); expect(html).toContain(testMessage); }); it('passes style and other props correctly', async () => { const style = { backgroundColor: 'red' }; const html = await render( , ); expect(html).toContain('background-color:red'); expect(html).toContain('data-testid="button-test"'); }); it('renders correctly with padding values from style prop', async () => { const actualOutput = await render(