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

Improve coverage #86

Merged
merged 2 commits into from
Aug 3, 2014
Merged

Improve coverage #86

merged 2 commits into from
Aug 3, 2014

Conversation

eush77
Copy link
Contributor

@eush77 eush77 commented Aug 3, 2014

  • Some tests fixed and some new added.
  • Optional parameters that can actually never be omitted became mandatory.
  • Exceptions that check consistency inside modules replaced with asserts removed.

* Some tests fixed and some new added.
* Optional parameters that can actually never be omitted became mandatory.
* Exceptions that check consistency inside modules replaced with asserts.
@@ -1,5 +1,7 @@
'use strict';

var assert = require('assert');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it's a good idea to require assert out of the unit tests. By doing that we would add a dependency if someone wants to run the library in the browser.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't thought about that. Will remove shortly. Thank you!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.49%) when pulling ffa052e on eush77:coverage into c193dd3 on felipernb:master.

felipernb added a commit that referenced this pull request Aug 3, 2014
@felipernb felipernb merged commit b08ebac into felipernb:master Aug 3, 2014
@eush77 eush77 deleted the coverage branch August 3, 2014 21:51
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.

None yet

3 participants