Skip to content

Commit

Permalink
Add a simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
Windvis committed Mar 19, 2024
1 parent f677552 commit 21851f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/integration/components/icon-components-test.gts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';

module('Integration | Icon components', function (hooks) {
setupRenderingTest(hooks);

test('the icon components accept attributes', async function (assert) {
await render(<template><AddIcon data-test-icon /></template>);

assert.dom('[data-test-icon]').exists();
});
});

0 comments on commit 21851f3

Please sign in to comment.