Skip to content

Commit 21851f3

Browse files
committed
Add a simple test
1 parent f677552 commit 21851f3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { module, test } from 'qunit';
2+
import { setupRenderingTest } from 'ember-qunit';
3+
import { render } from '@ember/test-helpers';
4+
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';
5+
6+
module('Integration | Icon components', function (hooks) {
7+
setupRenderingTest(hooks);
8+
9+
test('the icon components accept attributes', async function (assert) {
10+
await render(<template><AddIcon data-test-icon /></template>);
11+
12+
assert.dom('[data-test-icon]').exists();
13+
});
14+
});

0 commit comments

Comments
 (0)