Closed lpeliberty closed 5 years ago
I don’t see that code in this repo. Can you link to your added code?
I can't link to my repo because it's a private repo, sorry.
But I can link the lines where it fails : First fail Second fail
When I run yarn test
, I have these 2 fails.
the test descriptions say it should be a noop in production - perhaps your new code is incorrectly running in production, otherwise that iterator next wouldn’t be invoked?
OK, so I should check why this function is iterated, next should'nt be invoked ! Thx
Hello, I forked your project because I'm implementing something with immutable. Once I've done my things, if I run test, it does not pass because :
● PropTypesProductionReact15 › React Component Types › should not warn for iterables
and
● PropTypesProductionReact15 › React Component Types › should not warn for entry iterables
As I can see, this is the code that fail :
++i does increment the i const.
So, if i change by :
It's ok.
The fact is if I run test without changes, everythings pass, but id I add my function (creating an immutable type checker in factoryWithTypeCheckers.js), these tests fails.
What do you think about it ? Thx all !!