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

repairing language tests #1177

merged 1 commit into from Oct 13, 2013


None yet
3 participants

icambron commented Oct 9, 2013

We added tests to verify that languages actually exported the language they contain, but the way the test is written, it only works correctly in Node, since AMD passes the result through a callback, not as the return value to require. So our tests were failing in the browser.

I just made the test not run in the browser, and then verified it using a local instance of


This comment has been minimized.


ichernev commented Oct 13, 2013

That makes sense. Thanks!


This comment has been minimized.


timrwood commented Oct 31, 2013

This is due to a hack I wrote to simulate require('moment') when running nodeunit in the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment