Sha256: 8bf066e09563f23fa7e73d0af15f597ef896a277ce54db8fc086b53f24ce37f4
Contents?: true
Size: 657 Bytes
Versions: 7
Compression:
Stored size: 657 Bytes
Contents
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bsy-nav/item', 'Integration | Component | bsy nav/item', { integration: true }); test('it renders', function(assert) { // Set any properties with this.set('myProperty', 'value'); // Handle any actions with this.on('myAction', function(val) { ... });" this.render(hbs`{{bsy-nav/item}}`); assert.equal(this.$().text().trim(), ''); // Template block usage:" this.render(hbs` {{#bsy-nav/item}} template block text {{/bsy-nav/item}} `); assert.equal(this.$().text().trim(), 'template block text'); });
Version data entries
7 entries across 7 versions & 1 rubygems