EugeneTorap commented on a change in pull request #18593: URL: https://github.com/apache/superset/pull/18593#discussion_r800204706
########## File path: superset-frontend/src/SqlLab/components/ResultSet/ResultSet.test.jsx ########## @@ -177,7 +179,7 @@ test('should render empty results', () => { test('should render cached query', () => { const wrapper = shallow(<ResultSet {...cachedQueryProps} />); const cachedData = [{ col1: 'a', col2: 'b' }]; - wrapper.setState({ data: cachedData }); + wrapper.setState({ data: cachedData }); // How to set state to Functional Component? Review comment: @lyndsiWilliams How to set state to Functional Component? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org