mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add trimmed flag to chai-dom
This commit is contained in:
parent
14d0a6329a
commit
ca0f99ff64
@ -13,6 +13,7 @@ function test() {
|
||||
expect(testElement).to.have.id('id');
|
||||
expect(testElement).to.have.html('foo');
|
||||
expect(testElement).to.have.text('foo');
|
||||
expect(testElement).to.have.trimmed.text('foo');
|
||||
expect(testElement).to.have.text(['foo', 'bar']);
|
||||
expect(testElement).to.have.value('foo');
|
||||
expect(testElement).to.be.empty;
|
||||
|
||||
2
types/chai-dom/index.d.ts
vendored
2
types/chai-dom/index.d.ts
vendored
@ -35,6 +35,8 @@ declare namespace Chai {
|
||||
|
||||
displayed: Assertion;
|
||||
|
||||
trimmed: Assertion;
|
||||
|
||||
}
|
||||
|
||||
interface Include {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user