diff --git a/tests/integration/components/modal-dialog-test.gjs b/tests/integration/components/modal-dialog-test.gjs index 9d08ab9..10304ec 100755 --- a/tests/integration/components/modal-dialog-test.gjs +++ b/tests/integration/components/modal-dialog-test.gjs @@ -41,12 +41,16 @@ module('modal-dialog', function (hooks) { }); module('internal focus', function () { - test('no focusable elements', async function (assert) { - assert.expect(1); + let state; - const state = new (class { + hooks.beforeEach(function () { + state = new (class { @tracked show; })(); + }); + + test('no focusable elements', async function (assert) { + assert.expect(1); await render(