Sha256: bf5a975c1eee1962bfc8067ea062aa4a63eece0c033f98fe34e5524deca18992
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; module('Integration | Component | bsy button', function(hooks) { setupRenderingTest(hooks); test('it renders', async function(assert) { // Set any properties with this.set('myProperty', 'value'); // Handle any actions with this.on('myAction', function(val) { ... });" await render(hbs`{{bsy-button}}`); assert.dom().hasText(''); // Template block usage:" await render(hbs` {{#bsy-button}} template block text {{/bsy-button}} `); assert.dom().hasText('template block text'); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-bookingsync-sass-2.0.0 | tests/integration/components/bsy-button-test.js |