import { baseParse as parse, NodeTypes, ElementNode, TextNode, ErrorCodes, ElementTypes, InterpolationNode } from '@vue/compiler-core' import { parserOptionsStandard as parserOptions, DOMNamespaces } from '../src/parserOptionsStandard' describe('DOM parser', () => { describe('Text', () => { test('textarea handles comments/elements as just text', () => { const ast = parse( '', parserOptions ) const element = ast.children[0] as ElementNode const text = element.children[0] as TextNode expect(text).toStrictEqual({ type: NodeTypes.TEXT, content: 'some