test(compiler-vapor): add temporary test TODO

This commit is contained in:
三咲智子 Kevin Deng 2024-07-15 01:19:40 +08:00
parent e552ed2e9f
commit 6608bb3197
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
import { BindingTypes, type RootNode } from '@vue/compiler-dom'
import { type CompilerOptions, compile as _compile } from '../src'
// TODO This is a temporary test case for initial implementation.
// Remove it once we have more comprehensive tests.
// DO NOT ADD MORE TESTS HERE.
function compile(template: string | RootNode, options: CompilerOptions = {}) {
let { code } = _compile(template, {
...options,