diff --git a/bun.lockb b/bun.lockb index 006352c..05cac5e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 107781a..2576c1a 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@types/node": "^17.0.17", "@types/qunit": "^2.19.6", "qunit": "^2.19.4", + "qunit-dom": "^2.0.0", "typescript": "^5.2.2", "vite": "^2.8.1" } diff --git a/tests/helpers/index.ts b/tests/helpers/index.ts index f50b7bb..b7936a0 100644 --- a/tests/helpers/index.ts +++ b/tests/helpers/index.ts @@ -1,4 +1,5 @@ import * as QUnit from 'qunit'; +import 'qunit-dom'; interface TestContext { fixture: HTMLElement | null; diff --git a/tests/integration/lit-app-test.ts b/tests/integration/lit-app-test.ts index 6d0e11c..5de2574 100644 --- a/tests/integration/lit-app-test.ts +++ b/tests/integration/lit-app-test.ts @@ -7,5 +7,6 @@ module('Integration | Component | lit-app', function (hooks) { test('it works', function (assert) { render(``); assert.ok(document.querySelector('#foobar')); + assert.dom('#foobar').exists(); }); });