diff --git a/test/bindings/slot.spec.js b/test/bindings/slot.spec.js index 54b54d0..6d41e4c 100644 --- a/test/bindings/slot.spec.js +++ b/test/bindings/slot.spec.js @@ -444,7 +444,18 @@ describe('slot bindings', () => { type: bindingTypes.SLOT, selector: '[expr0]', name: 'default', - template: template('

Default

'), + template: template('

', [ + { + selector: '[expr1]', + expressions: [ + { + type: expressionTypes.TEXT, + childNodeIndex: 0, + evaluate: (scope) => scope.text, + }, + ], + }, + ]), }, ]) @@ -472,6 +483,7 @@ describe('slot bindings', () => { target, { slots: [], + text: 'Default', }, { isVisible: true }, )