File tree Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Original file line number Diff line number Diff line change 1
- import { BoundFunctions , Queries } from './get-queries-for-element' ;
2
- import * as queries from './queries' ;
3
- import { OptionsReceived } from 'pretty-format' ;
1
+ import { BoundFunctions , Queries } from './get-queries-for-element'
2
+ import * as queries from './queries'
3
+ import { OptionsReceived } from 'pretty-format'
4
4
5
5
export type Screen < Q extends Queries = typeof queries > = BoundFunctions < Q > & {
6
- /**
7
- * Convenience function for `pretty-dom` which also allows an array
8
- * of elements
9
- */
10
- debug : (
11
- element ?: Element | HTMLDocument | Array < Element | HTMLDocument > ,
12
- maxLength ?: number ,
13
- options ?: OptionsReceived ,
14
- ) => void ;
15
- } ;
6
+ /**
7
+ * Convenience function for `pretty-dom` which also allows an array
8
+ * of elements
9
+ */
10
+ debug : (
11
+ element ?: Element | HTMLDocument | Array < Element | HTMLDocument > ,
12
+ maxLength ?: number ,
13
+ options ?: OptionsReceived ,
14
+ ) => void
15
+ /**
16
+ * Convenience function for `Testing Playground` which logs URL that
17
+ * can be opened in a browser
18
+ */
19
+ logTestingPlaygroundURL : ( element ?: Element | HTMLDocument ) => void
20
+ }
16
21
17
- export const screen : Screen ;
22
+ export const screen : Screen
You can’t perform that action at this time.
0 commit comments