98ff62af80
* Update dependency prettier to v3 * upgrade eslint-plugin-prettier and run prettier on all files --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
20 lines
593 B
JavaScript
20 lines
593 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
module(
|
|
'Integration | Helper | scroll-first-invalid-element-into-view-port',
|
|
function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
// Replace this with your real tests.
|
|
test('it renders', async function (assert) {
|
|
this.set('inputValue', '1234');
|
|
|
|
await render(hbs`{{scroll-element-into-view-port inputValue}}`);
|
|
|
|
assert.equal(this.element.textContent.trim(), '1234');
|
|
});
|
|
},
|
|
);
|