MCPcopy
hub / github.com/primer/react / MarkdownEditor.test.tsx

File MarkdownEditor.test.tsx

packages/react/src/drafts/MarkdownEditor/MarkdownEditor.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {DiffAddedIcon} from '@primer/octicons-react'
2import {fireEvent, render as _render, waitFor, within, act} from '@testing-library/react'
3import userEvent from '@testing-library/user-event'
4import type {UserEvent} from '@testing-library/user-event/dist/types/setup/setup'

Callers

nothing calls this directly

Calls 15

renderFunction · 0.90
getInputFunction · 0.85
getToolbarButtonFunction · 0.85
getEditorContainerFunction · 0.85
getViewSwitchFunction · 0.85
getActionButtonFunction · 0.85
getToolbarFunction · 0.85
resultOfTypingInEditorFunction · 0.85
queryForUploadButtonFunction · 0.85
imageFileFunction · 0.85
expectFilesToBeAddedFunction · 0.85
queryForPreviewFunction · 0.85

Tested by

no test coverage detected