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

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