-
-
Notifications
You must be signed in to change notification settings - Fork 770
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
Port the tests to Mocha. And some of the missed PyYAML tests. #57
Conversation
Switch to Mocha and hide Node-specific APIs from tests, which does not need them.
It is intended to use as a framework for the tests, and it will contain all of the helpers, utilities, and other shared code.
var assert = require('assert'); | ||
var jsyaml = require('../../lib/js-yaml'); | ||
var _errors = require('../../lib/js-yaml/errors'); | ||
var _functional = require('../support/functional'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why these variables starts with _
?
Can you please align var foo = require('foo');
var bar = require('bar');
var mooboo = require('mooo'); |
var Context = require('./assert-paranoid-equal/context'); | ||
|
||
|
||
function paranoidEqual(value1, value2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs description.
Hm... Seems like Travis don't like shims. I do not exactly understand the reason of this build fail. |
Yeah. Seems it was Travis' bug. |
If you have no more remarks, it is ready to merge. |
Port the tests to Mocha. And some of the missed PyYAML tests.
Ported from PyYAML:
Marked as "unsupported":
Cuted off:
Added: