linstrom/frontend-reactive/tests/integration/components/passkey-test.ts
mstar 4f761c20c0 Lots of frontend stuff
- Passkey support on the way
- Add biome file
- added humans.txt
- tests
2024-10-15 16:18:21 +02:00

26 lines
726 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 | Component | passkey', function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<Passkey />`);
assert.dom().hasText('');
// Template block usage:
await render(hbs`
<Passkey>
template block text
</Passkey>
`);
assert.dom().hasText('template block text');
});
});