21 lines
404 B
JavaScript
21 lines
404 B
JavaScript
|
import { moduleForComponent, skip } from 'ember-qunit';
|
||
|
import hbs from 'htmlbars-inline-precompile';
|
||
|
|
||
|
moduleForComponent('last', 'helper:last', {
|
||
|
integration: true,
|
||
|
});
|
||
|
|
||
|
// Replace this with your real tests.
|
||
|
skip('it renders', function(assert) {
|
||
|
this.set('inputValue', '1234');
|
||
|
|
||
|
this.render(hbs`{{last inputValue}}`);
|
||
|
|
||
|
assert.equal(
|
||
|
this.$()
|
||
|
.text()
|
||
|
.trim(),
|
||
|
'1234'
|
||
|
);
|
||
|
});
|