Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#55806 update(chai-dom): v1.10.0 by @patric…
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklizon committed Sep 16, 2021
1 parent 9c59c0e commit 0080f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions types/chai-dom/chai-dom-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ function test() {
expect(testElement).to.contain(document.body);
expect(testElement).to.be.visible;
expect(testElement).to.have.tagName('foo');
expect(testElement).to.have.focus;
}
2 changes: 2 additions & 0 deletions types/chai-dom/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ declare namespace Chai {
visible: Assertion;

tagName(name: string): Assertion;

focus: Assertion;
}

interface Include {
Expand Down

0 comments on commit 0080f91

Please sign in to comment.