github.com/DerekStrickland/consul@v1.4.5/ui-v2/tests/integration/helpers/atob-test.js (about)

     1  
     2  import { moduleForComponent, test } from 'ember-qunit';
     3  import hbs from 'htmlbars-inline-precompile';
     4  
     5  moduleForComponent('atob', 'helper:atob', {
     6    integration: true
     7  });
     8  
     9  // Replace this with your real tests.
    10  test('it renders', function(assert) {
    11    this.set('inputValue', 'MTIzNA==');
    12  
    13    this.render(hbs`{{atob inputValue}}`);
    14    assert.equal(this.$().text().trim(), '1234');
    15  });
    16