const { container, getByDisplayValue, getByTestId, debug } = renderWithProviders( <FieldComponentRenderer {...props} enableError={true}/> ); debug() ⚠️不光要开启debug 模式- 还要- call 函数