mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #22173 from NicholasBoll/fix/chai-jquery-enzyme-interactions
fix(chai-jquery): Fix assertion methods that deviate in style from others
This commit is contained in:
Vendored
+9
-9
@@ -10,21 +10,21 @@
|
||||
declare namespace Chai {
|
||||
|
||||
interface Assertion {
|
||||
attr: (name: string, value?: string) => Assertion;
|
||||
prop: (name: string, value?: any) => Assertion;
|
||||
css: (name: string, value?: string) => Assertion;
|
||||
data: (name: string, value?: string) => Assertion;
|
||||
attr(name: string, value?: string): Assertion;
|
||||
prop(name: string, value?: any): Assertion;
|
||||
css(name: string, value?: string): Assertion;
|
||||
data(name: string, value?: string): Assertion;
|
||||
class(className: string): Assertion;
|
||||
id(id: string): Assertion;
|
||||
html(html: string): Assertion;
|
||||
text(text: string): Assertion;
|
||||
value(text: string): Assertion;
|
||||
descendants(selector: string): Assertion;
|
||||
visible: Assertion;
|
||||
hidden: Assertion;
|
||||
selected: Assertion;
|
||||
checked: Assertion;
|
||||
disabled: Assertion;
|
||||
visible(): Assertion;
|
||||
hidden(): Assertion;
|
||||
selected(): Assertion;
|
||||
checked(): Assertion;
|
||||
disabled(): Assertion;
|
||||
(selector: string): Assertion;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user