AssertionError: expected 'comment' to equal [Function]
Hi there,
I clone the repo and following https://github.com/multunus/React-Native-TDD-Tutorial, while I run the first test, it failed with the following error:
-
should be a view component: AssertionError: expected 'comment' to equal [Function]
I run the "npm test" in Windows 7, NodeJs v6.3.1 and Npm v3.10.3.
Please advise. Thank you.
Hi, Even I'm facing the same issue. Did you get the solution for this?
@deepthirupesh Apologies for the delay. We will get back to you on this one in a few hours.
@akshaysmurthy, let me know if you need more detials. Thanks in advance!
@deepthirupesh Thanks for reaching out again :) Are you also on a setup similar to @limcheekin's? i.e., Windows 7, NodeJs v6.3.1 and Npm v3.10.3
And @limcheekin I know it's been a while, but did you fix this? :)
No good news in Windows environment. However, I managed to execute it in Mac OS environment.
@akshaysmurthy, I'm on windows 7 and below are the Node and Npm version details
{ shswebvoiceagentui: '0.1.0', npm: '3.3.12', ares: '1.10.1-DEV', http_parser: '2.6.0', icu: '56.1', modules: '47', node: '5.3.0', openssl: '1.0.2e', uv: '1.8.0', v8: '4.6.85.31', zlib: '1.2.8' }
Thanks for that info @deepthirupesh. Unfortunately, I do not think we will be able to immediately help you out with the issue on Windows. Also, we are working on an update to the boiler plate and the tutorial to better align with the latest developments in React Native.
@limcheekin Are you saying that on a Mac, you did not face this specific problem?
@deepthirupesh, FYI we tried this out on our local setup with Node 7.2.1 and npm 3.10.9 on a Mac, and all the tests run just fine. So, I guess this is working fine on Linux / Mac.