diff --git a/test/node.ts b/test/node.ts index f2bd3731c6b082bcc0cc0f38437f3d6483767fb0..15ad6b945f07edc3f980a67bff46a2cb7716c18a 100644 --- a/test/node.ts +++ b/test/node.ts @@ -5,7 +5,7 @@ import { } from '../built'; export const QUOTE = (children: MfmNode[]): MfmQuote => { return { type:'quote', children }; }; -export const SEARCH = (q: string, content: string): MfmSearch => { return { type:'search', props: { q, content } }; }; +export const SEARCH = (query: string, content: string): MfmSearch => { return { type:'search', props: { query, content } }; }; export const CODE_BLOCK = (code: string, lang: string | null): MfmCodeBlock => { return { type:'blockCode', props: { code, lang } }; }; export const MATH_BLOCK = (formula: string): MfmMathBlock => { return { type:'mathBlock', props: { formula } }; }; export const CENTER = (children: MfmInline[]): MfmCenter => { return { type:'center', children }; };