Skip to content

Commit

Permalink
Add qunit-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
sukima committed Sep 16, 2023
1 parent 1103909 commit 42220f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
1 change: 1 addition & 0 deletions tests/helpers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as QUnit from 'qunit';
import 'qunit-dom';

interface TestContext {
fixture: HTMLElement | null;
Expand Down
1 change: 1 addition & 0 deletions tests/integration/lit-app-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ module('Integration | Component | lit-app', function (hooks) {
test('it works', function (assert) {
render(`<lit-app id="foobar"></lit-app>`);
assert.ok(document.querySelector('#foobar'));
assert.dom('#foobar').exists();
});
});

0 comments on commit 42220f7

Please sign in to comment.