|
@@ -1,9 +1,8 @@
|
|
|
import * as CompilerVapor from '../src'
|
|
import * as CompilerVapor from '../src'
|
|
|
-// import * as CompilerDOM from '@vue/compiler-dom'
|
|
|
|
|
import { parse, compileScript } from '@vue/compiler-sfc'
|
|
import { parse, compileScript } from '@vue/compiler-sfc'
|
|
|
import source from './fixtures/counter.vue?raw'
|
|
import source from './fixtures/counter.vue?raw'
|
|
|
|
|
|
|
|
-test('basic', async () => {
|
|
|
|
|
|
|
+test('fixtures', async () => {
|
|
|
const { descriptor } = parse(source, { compiler: CompilerVapor })
|
|
const { descriptor } = parse(source, { compiler: CompilerVapor })
|
|
|
const script = compileScript(descriptor, {
|
|
const script = compileScript(descriptor, {
|
|
|
id: 'counter.vue',
|
|
id: 'counter.vue',
|