diff --git a/types/screen.d.ts b/types/screen.d.ts index 2594f5be..bc77683f 100644 --- a/types/screen.d.ts +++ b/types/screen.d.ts @@ -1,17 +1,22 @@ -import { BoundFunctions, Queries } from './get-queries-for-element'; -import * as queries from './queries'; -import { OptionsReceived } from 'pretty-format'; +import {BoundFunctions, Queries} from './get-queries-for-element' +import * as queries from './queries' +import {OptionsReceived} from 'pretty-format' export type Screen = BoundFunctions & { - /** - * Convenience function for `pretty-dom` which also allows an array - * of elements - */ - debug: ( - element?: Element | HTMLDocument | Array, - maxLength?: number, - options?: OptionsReceived, - ) => void; -}; + /** + * Convenience function for `pretty-dom` which also allows an array + * of elements + */ + debug: ( + element?: Element | HTMLDocument | Array, + maxLength?: number, + options?: OptionsReceived, + ) => void + /** + * Convenience function for `Testing Playground` which logs URL that + * can be opened in a browser + */ + logTestingPlaygroundURL: (element?: Element | HTMLDocument) => void +} -export const screen: Screen; +export const screen: Screen