Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/forms/__tests__/submit-form.test.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/forms/__tests__/submit-form.test.tsx |
| Original SHA-256 | 0edeac92b91ecc8be4ea2ef36e57e37d7e3ce00d27ce93af431c2fc1069156ff |
| Git blob SHA | e476d5c981a7bcf273b8103de031e20bf1a93925 |
| Reading-copy SHA-256 | 0edeac92b91ecc8be4ea2ef36e57e37d7e3ce00d27ce93af431c2fc1069156ff |
Recovered source transcript
Download complete source text ↓14 lines · 0.4 KB
import { SubmitForm } from '@/components/forms/submit-form'
import { render, screen } from '@/test/test-utils'
jest.mock('@/actions/submit-llms-xxt', () => ({
submitLlmsTxt: jest.fn()
}))
describe('SubmitForm', () => {
it('should render the initial form', () => {
render(<SubmitForm />)
expect(screen.getByText('Submit your llms.txt')).toBeInTheDocument()
})
})