Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: expected 'comment' to equal [Function] #2

Open
limcheekin opened this issue Aug 17, 2016 · 8 comments
Open

AssertionError: expected 'comment' to equal [Function] #2

limcheekin opened this issue Aug 17, 2016 · 8 comments

Comments

@limcheekin
Copy link

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:

  1. 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.

@deepthirupesh
Copy link

Hi, Even I'm facing the same issue. Did you get the solution for this?

@akshaysmurthy
Copy link
Member

@deepthirupesh Apologies for the delay. We will get back to you on this one in a few hours.

@deepthirupesh
Copy link

@akshaysmurthy, let me know if you need more detials. Thanks in advance!

@akshaysmurthy
Copy link
Member

@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? :)

@limcheekin
Copy link
Author

No good news in Windows environment. However, I managed to execute it in Mac OS environment.

@deepthirupesh
Copy link

@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' }

@akshaysmurthy
Copy link
Member

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?

@akshaysmurthy
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants