import { assert, miniProgram } from './testUtils' const options = { miniProgram: { ...miniProgram, slot: { fallback: true, }, }, } describe('compiler: transform slot', () => { test('basic', () => { assert( ``, ``, `(_ctx, _cache) => { return {} }`, options ) }) test('fallback content', () => { assert( ``, ``, `(_ctx, _cache) => { return {} }`, options ) }) test('names slots', () => { assert( ``, ``, `(_ctx, _cache) => { return {} }`, options ) }) test('names slots with fallback content', () => { assert( ``, ``, `(_ctx, _cache) => { return {} }`, options ) }) })