File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 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]> =
1414 const _stream = actual as RenderStream < any > | Assertable ;
1515 const stream =
1616 assertableSymbol in _stream ? _stream [ assertableSymbol ] : _stream ;
17- const hint = this . utils . matcherHint ( "toRerender" , "ProfiledComponent" , "" ) ;
17+ const hint = this . utils . matcherHint ( "toRerender" ) ;
1818 let pass = true ;
1919 try {
2020 await stream . peekRender ( { timeout : 100 , ...options } ) ;
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ export type SyncScreen = {
3939
4040export interface Render < Snapshot > extends BaseRender {
4141 /**
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`.
4443 */
4544 snapshot : Snapshot ;
4645 /**
4746 * A DOM snapshot of the rendered component, if the `snapshotDOM`
48- * option of `profile ` was enabled.
47+ * option of `createRenderStream ` was enabled.
4948 */
5049 readonly domSnapshot : HTMLElement ;
5150 /**
You can’t perform that action at this time.
0 commit comments