editorInfoField
State field holding information about the Markdown editor, such as its file. The mock’s value carries the global app, no file and no hover popover, and never changes.
Import:
import { editorInfoField } from 'obsidian-test-mocks/obsidian';Signature:
const editorInfoField: StateField<MarkdownFileInfo>Type: StateField<MarkdownFileInfo>