mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Add trimmed flag to chai-dom
This commit is contained in:
@@ -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;
|
||||
|
||||
Vendored
+2
@@ -35,6 +35,8 @@ declare namespace Chai {
|
||||
|
||||
displayed: Assertion;
|
||||
|
||||
trimmed: Assertion;
|
||||
|
||||
}
|
||||
|
||||
interface Include {
|
||||
|
||||
Reference in New Issue
Block a user