linstrom/frontend-reactive/tests/integration/helpers/is-valid-mail-test.ts

18 lines
524 B
TypeScript
Raw Permalink Normal View History

2024-10-28 15:33:17 +00:00
import { module, test } from 'qunit';
import { setupRenderingTest } from 'frontend-reactive/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Helper | isValidMail', function (hooks) {
setupRenderingTest(hooks);
// TODO: Replace this with your real tests.
test('it renders', async function (assert) {
this.set('inputValue', '1234');
await render(hbs`{{is-valid-mail this.inputValue}}`);
assert.dom().hasText('1234');
});
});