Test issue: Frontend Libraries (Calculator)

My react calculator is currently failing two tests.

First one
No 9 - “The expression 5-9+5 should produce a result of 1”
No14 - * ## or more operators are entered consecutively, the operation performed should be the last operator entered

  1. Pressing an operator immediately following “=” should start a new calculation that operates on the result of the previous evaluation

Your code so far

Your browser information:

User Agent is: Firefox @ Linux Mint 19
Chrome@ Windows 10

Link to the challenge:

This was my error - I wasn’t converting result back to string which prevented normal functionality afterwards…