Trouble with javascript calculator tests

I tried making a calculator and almost completed, but)
3 of 16 tests didn’t pass, even when app works as expected according to user stories
Here is my calculator
https://codepen.io/papajango/pen/vopBZR

These tests have failed but app works correctly:

11. When the decimal element is clicked, a “.” should append to the currently displayed value; two “.” in one number should not be accepted

'An input of "5 . 5 . 5" should display 5.55 '

13. If 2 or more operators are entered consecutively, the operation performed should be the last operator entered (excluding the negative (-) sign.

14. If 2 or more operators are entered consecutively, the operation performed should be the last operator entered (excluding the negative (-) sign.

16. My calculator should have several decimal places of precision when it comes to rounding (note that there is no exact standard, but you should be able to handle calculations like “2 / 7” with reasonable precision to at least 4 decimal places)

Can you tell what’s wrong?
Thank you

I’m not sure on #11 but for the rest:

#13
by pressing 3*-+-+-+-+-+*-+ the output becomes 3******. This is because you excluded the - from your logic of replacing the previous operator. You do need to exclude it but then you need new logic to handle this situation.

#14 and #16 have the correct display on the calc but if you look at the errors you’re getting, there is something happening in the background incorrectly. Unfortunately I don’t know React well enough to go through your code. I’d recommend walking through a specific case.

The test suite uses 5*-5 and expects an answer of -25 but it looks like under the hood the app calculated -1275 somehow.

Sorry I couldn’t be of more help.
-J

2 / 7 = 0.2857142857142857
what reasonable precision do they want?)