linstrom/frontend-old-ember/tests/integration/helpers/is-valid-mail-test.ts
mStar 88398334fe
JS frontend stuff
Move old ember frontend to properly named folder
Add vue based new frontend
2025-07-07 21:48:39 +02:00

17 lines
524 B
TypeScript

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');
});
});