ScratchValue
A watch's value in a scratch file read as a notebook: the line its statement ends on, and what it came to (or what it
threw), a React element rendered too (html); kept from before (cached); or, not run, what it reaches outside
that waits for asking (waits). A test the file holds has its outcome here too (test), on its first line.
export interface ScratchValue { line: number; ok: boolean; value: string; html?: string; /** what it wrote to the console as it ran */ output?: string; cached?: boolean; waits?: string[]; /** a test's outcome, not a watch's value: the test (its name), and, not run yet, that it waits for asking */ test?: string; untested?: boolean; }