Skip to content

Commit

Permalink
add dropdown primitive ctd
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Dec 10, 2024
1 parent 996cb26 commit c91f6c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/dummy/app/templates/dropdown.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div>
Non interactive element
</div>
<a href="#">
<LinkTo @route="dropdown">
Interactive element
</a>
</LinkTo>
</dd.Content>
{{/if}}
</Dropdown>
3 changes: 2 additions & 1 deletion tests/integration/components/select-box/index/api-test.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module('select-box (api)', function (hooks) {
setupRenderingTest(hooks);

test('api', async function (assert) {
assert.expect(16);
assert.expect(17);

let api;
let api2;
Expand Down Expand Up @@ -47,6 +47,7 @@ module('select-box (api)', function (hooks) {
assert.strictEqual(typeof api.Options, 'object');
assert.strictEqual(typeof api.Dropdown, 'object');
assert.strictEqual(typeof api.Trigger, 'object');
assert.strictEqual(typeof api.Content, 'object');

// Properties
assert.deepEqual(api.element, find('.select-box'));
Expand Down

0 comments on commit c91f6c2

Please sign in to comment.