Skip to content

Conversation

@dpvc
Copy link
Member

@dpvc dpvc commented Feb 22, 2016

The current test was dependent on the current directory. My tests were done from the mathjax-node directory itself, but when it is installed with npm install mathjax-node, rather than getting a copy of mathjax-node from github and running npm install in it, you get a node_modules directory, and so the current directory is not the same as what I was using, and the test for node version 4 failed, and it tried to use the node-5 hierarchy. This leads to the error reported in issues #172 and #179.

This patch uses a test that doesn't rely on the current directory.

@pkra
Copy link
Contributor

pkra commented Feb 22, 2016

LGTM.

@dpvc
Copy link
Member Author

dpvc commented Feb 22, 2016

@pkra, I'm happy to merge. Does that mean a new release of mathjax-node?

dpvc added a commit that referenced this pull request Feb 22, 2016
Make test for node hierarchy more robust.
@dpvc dpvc merged commit 9fe6bc8 into develop Feb 22, 2016
@dpvc dpvc deleted the issue172 branch February 22, 2016 09:26
@pkra
Copy link
Contributor

pkra commented Feb 22, 2016

Does that mean a new release of mathjax-node?

Sure. I had set up a milestone for "what's next" but this seems urgent, right?

@dpvc
Copy link
Member Author

dpvc commented Feb 22, 2016

It would be a good idea to get this out, I think.

@pkra
Copy link
Contributor

pkra commented Feb 22, 2016

It would be a good idea to get this out, I think.

👍 from me. I will finish the PR to master and make a release.

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

Successfully merging this pull request may close these issues.

3 participants