diff --git a/src/client/rsg-components/Preview/Preview.tsx b/src/client/rsg-components/Preview/Preview.tsx index a2e4a82c3..3f64fa978 100644 --- a/src/client/rsg-components/Preview/Preview.tsx +++ b/src/client/rsg-components/Preview/Preview.tsx @@ -106,9 +106,7 @@ export default class Preview extends Component { this.reactRoot.render(wrappedComponent); } } catch (err) { - /* istanbul ignore next: it is near-impossible to trigger a sync error from ReactDOM.render */ if (err instanceof Error) { - /* istanbul ignore next */ this.handleError(err); } }