No, tobe is correct syntax for this test as you can see here: https://jestjs.io/docs/en/expect#tobevalue
But I am considering changing from Jest to another test framework as it seems to be broken as of now.
No, tobe is correct syntax for this test as you can see here: https://jestjs.io/docs/en/expect#tobevalue
But I am considering changing from Jest to another test framework as it seems to be broken as of now.