Test suites are not passing for the calculator

My Calculator is working correctly but the test cases won’t pass

Code is a little messy.

Link to the code pen

Try switching to the old render method or downgrade to React 17

ReactDOM.render(<App />, document.getElementById('root'));

It passes when I do that.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.