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

importing dependecy problem #2712

Closed
tasoss opened this issue Feb 14, 2017 · 2 comments
Closed

importing dependecy problem #2712

tasoss opened this issue Feb 14, 2017 · 2 comments
Labels
stale this has been inactive for a while... status: waiting for author waiting on response from OP - more information needed type: question support question

Comments

@tasoss
Copy link

tasoss commented Feb 14, 2017

Hello.I have a node.js app which works correctly.When i try to run some tests that i have written
i get Class extends value undefined is not a function or null.When i try to run the tests via webstorm i get
'class TennisGame extends Game.Game' that Game is an empty object.I'm using const Game = require("./Game.js"); which works correctly on runtime(when i run via node the application).
What am i missing? Thanks!

@drazisil drazisil added the type: question support question label Mar 30, 2017
@kunagpal
Copy link
Contributor

@tasoss Could you share a working example, including the code and its test(s)? It's difficult to deduce the exact issue from the information provided. 😅

@ScottFreeCode ScottFreeCode added the status: waiting for author waiting on response from OP - more information needed label Jun 22, 2017
@stale
Copy link

stale bot commented Oct 20, 2017

I am a bot that watches issues for inactivity.
This issue hasn't had any recent activity, and I'm labeling it stale. In 14 days, if there are no further comments or activity, I will close this issue.
Thanks for contributing to Mocha!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale this has been inactive for a while... status: waiting for author waiting on response from OP - more information needed type: question support question
Projects
None yet
Development

No branches or pull requests

4 participants