File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ declare type Selector = any
7
7
8
8
declare interface BaseWrapper { // eslint-disable-line no-undef
9
9
at ( index : number ) : Wrapper | void ,
10
+ attributes ( ) : { [ name : string ] : string } | void ,
11
+ classes ( ) : Array < string > | void ,
10
12
contains ( selector : Selector ) : boolean | void ,
11
13
emitted ( event ? : string ) : { [ name : string ] : Array < Array < any >> } | Array < Array < any >> | void ,
12
14
emittedByOrder ( ) : Array < { name : string ; args: Array < any > } > | void ,
@@ -22,6 +24,7 @@ declare interface BaseWrapper { // eslint-disable-line no-undef
22
24
isEmpty ( ) : boolean | void ,
23
25
isVueInstance ( ) : boolean | void ,
24
26
name ( ) : string | void ,
27
+ props ( ) : { [ name : string ] : any } | void ,
25
28
text ( ) : string | void ,
26
29
setData ( data : Object ) : void ,
27
30
setComputed ( computed : Object ) : void ,
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ interface BaseWrapper {
40
40
contains ( selector : Selector ) : boolean
41
41
exists ( ) : boolean
42
42
43
+ attributes ( ) : { [ name : string ] : string } | void
44
+ classes ( ) : Array < string > | void
45
+ props ( ) : { [ name : string ] : any } | void
46
+
43
47
hasAttribute ( attribute : string , value : string ) : boolean
44
48
hasClass ( className : string ) : boolean
45
49
hasProp ( prop : string , value : any ) : boolean
You can’t perform that action at this time.
0 commit comments