import { render } from '@stencil/vitest'; describe('ontario-fieldset', () => { describe('snapshot', () => { it('should render the expected html', async () => { const page = await render( ``, ); expect(page.root).toMatchSnapshot(); }); }); it('should render the default legend size if no legendSize prop is passed', async () => { const page = await render(``); expect(page.root).toEqualHtml(`
What is your delivery address?
`); }); });