Skip to main content
Glama
deleonio
by deleonio
snapshot.test.tsx598 B
import { h } from '@stencil/core'; import { renderFunctionalComponentToSpecPage } from '../../../../utils/testing'; import TextAreaFc from '../TextArea'; describe('TextAreaFc', () => { it('should render and match snapshot', async () => { const page = await renderFunctionalComponentToSpecPage(() => <TextAreaFc id="test" value="test" />); expect(page.root).toMatchSnapshot(); }); it('should contain a textarea tag', async () => { const page = await renderFunctionalComponentToSpecPage(() => <TextAreaFc id="test" value="test" />); expect(page.root?.tagName).toBe('TEXTAREA'); }); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server