Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Dec 15, 2023
1 parent 7b6c9c3 commit 70f2980
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/integration/components/modal-dialog-test.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -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(<template>
<button type="button" class="external"></button>
Expand All @@ -69,10 +73,6 @@ module('modal-dialog', function (hooks) {
test('with focusable elements', async function (assert) {
assert.expect(1);

const state = new (class {
@tracked show;
})();

await render(<template>
<button type="button" class="external"></button>

Expand Down

0 comments on commit 70f2980

Please sign in to comment.