From c91f6c25299d07ef044cc92324b889ab5b1ea860 Mon Sep 17 00:00:00 2001 From: Andrew Kirwin Date: Tue, 10 Dec 2024 10:00:15 +0000 Subject: [PATCH] add dropdown primitive ctd --- tests/dummy/app/templates/dropdown.hbs | 4 ++-- tests/integration/components/select-box/index/api-test.gjs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/dummy/app/templates/dropdown.hbs b/tests/dummy/app/templates/dropdown.hbs index 3ae6b6ef5..0412edc11 100644 --- a/tests/dummy/app/templates/dropdown.hbs +++ b/tests/dummy/app/templates/dropdown.hbs @@ -12,9 +12,9 @@
Non interactive element
- + Interactive element - + {{/if}} \ No newline at end of file diff --git a/tests/integration/components/select-box/index/api-test.gjs b/tests/integration/components/select-box/index/api-test.gjs index 6bc505080..ddc73cfb7 100644 --- a/tests/integration/components/select-box/index/api-test.gjs +++ b/tests/integration/components/select-box/index/api-test.gjs @@ -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; @@ -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'));