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