File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 * Type declerations for global development variables
33 */
44
5+ // tslint:disable:interface-name
6+
57interface Window {
68 // A hack for the Redux DevTools Chrome extension.
79 __REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?: any ;
810 __INITIAL_STATE__ ?: any ;
911}
1012
1113type Set < T > = any ;
14+
15+ declare namespace jest {
16+ interface Matchers < R > {
17+ toBeChecked ( ) : void ;
18+ toBeDisabled ( ) : void ;
19+ toBeEmptyRender ( ) : void ;
20+ toContainReact ( component : React . ReactElement < any > ) : void ;
21+ toExist ( ) : void ;
22+ toHaveClassName ( className : string ) : void ;
23+ toHaveHTML ( html : string ) : void ;
24+ toHaveProp ( propKey : object | string , propValue ?: any ) : void ;
25+ toHaveRef ( refName : string ) : void ;
26+ toHaveState ( stateKey : object | string , stateValue ?: any ) : void ;
27+ toHaveStyle ( styleKey : object | string , styleValue ?: any ) : void ;
28+ toHaveTagName ( tagName : string ) : void ;
29+ toHaveText ( text : string ) : void ;
30+ toHaveValue ( value : any ) : void ;
31+ toIncludeText ( text : string ) : void ;
32+ toMatchElement ( element : React . ReactElement < any > ) : void ;
33+ toMatchSelector ( selector : string ) : void ;
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments