File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const toRerender: MatcherFunction<[options?: NextRenderOptions]> =
14
14
const _stream = actual as RenderStream < any > | Assertable ;
15
15
const stream =
16
16
assertableSymbol in _stream ? _stream [ assertableSymbol ] : _stream ;
17
- const hint = this . utils . matcherHint ( "toRerender" , "ProfiledComponent" , "" ) ;
17
+ const hint = this . utils . matcherHint ( "toRerender" ) ;
18
18
let pass = true ;
19
19
try {
20
20
await stream . peekRender ( { timeout : 100 , ...options } ) ;
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ export type SyncScreen = {
39
39
40
40
export interface Render < Snapshot > extends BaseRender {
41
41
/**
42
- * The snapshot, as returned by the `takeSnapshot` option of `profile`.
43
- * (If using `profileHook`, this is the return value of the hook.)
42
+ * The snapshot, as returned by the `takeSnapshot` option of `createRenderStream`.
44
43
*/
45
44
snapshot : Snapshot ;
46
45
/**
47
46
* A DOM snapshot of the rendered component, if the `snapshotDOM`
48
- * option of `profile ` was enabled.
47
+ * option of `createRenderStream ` was enabled.
49
48
*/
50
49
readonly domSnapshot : HTMLElement ;
51
50
/**
You can’t perform that action at this time.
0 commit comments