Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Apr 19, 2015
1 parent a96bc1c commit ef52980
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 39 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 2.0.0 - 2015-04-19

### Update Should.js _v5.*_ to _v.6*_.

Note: The _should.js@v6_ change the behavior of `should.containDeep*`, `should.containDeep*` does not check substrings anymore.
See [should.js#42](https://github.com/shouldjs/should.js/issues/42)

### .contains()

[.contains()](http://unitjs.com/api/value.html#contains) and [.notContains()](http://unitjs.com/api/value.html#notContains) takes several arguments (instead of an array of arguments). This new behavior is more natural and avoids the ambiguity for test an array or object.


## 1.2.0 - 2015-04-18

New method of assertion:

* [test.number(actual).isNaN()](http://unitjs.com/api/number.html#isNaN)
* [test.number(actual).isNotNaN()](http://unitjs.com/api/number.html#isNotNaN)
* [test.value(parseInt('not a number', 10)).isNaN()](http://unitjs.com/api/value.html#isNaN)
* [test.value(undefined).isNotNaN()](http://unitjs.com/api/value.html#isNotNaN)

## 1.0.0 - 2014-09-12

* Lots of sub-dependencies are removed.
Expand Down
6 changes: 3 additions & 3 deletions browser/dist/tests-unit.js

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions browser/dist/unit.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions browser/test/tests-unit.js

Large diffs are not rendered by default.

31 changes: 15 additions & 16 deletions browser/test/unit.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unit.js",
"version": "1.2.0",
"version": "2.0.0",
"description": "Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).",
"main": "src/index.js",
"keywords": [
Expand Down

0 comments on commit ef52980

Please sign in to comment.