mirror of https://github.com/vuejs/core.git
test(compiler-vapor): add temporary test TODO
This commit is contained in:
parent
e552ed2e9f
commit
6608bb3197
|
@ -1,6 +1,10 @@
|
||||||
import { BindingTypes, type RootNode } from '@vue/compiler-dom'
|
import { BindingTypes, type RootNode } from '@vue/compiler-dom'
|
||||||
import { type CompilerOptions, compile as _compile } from '../src'
|
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 = {}) {
|
function compile(template: string | RootNode, options: CompilerOptions = {}) {
|
||||||
let { code } = _compile(template, {
|
let { code } = _compile(template, {
|
||||||
...options,
|
...options,
|
||||||
|
|
Loading…
Reference in New Issue