Upgraded to typed-function v0.6.0

This commit is contained in:
jos 2015-01-16 09:23:03 +01:00
parent e11f08ae73
commit fe5faad794
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@
],
"dependencies": {
"decimal.js": "^4.0.1",
"typed-function": "^0.5.0"
"typed-function": "^0.6.0"
},
"devDependencies": {
"webpack": "latest",

View File

@ -64,9 +64,9 @@ describe('sum', function() {
});
it.skip('should throw an error if called with invalid number of arguments', function() {
it('should throw an error if called with invalid number of arguments', function() {
assert.throws(function() {sum()});
assert.throws(function() {sum([], 2, 3)}); // TODO: must be fixed in typed-function
assert.throws(function() {sum([], 2, 3)});
});
it('should throw an error if called with not yet supported argument dim', function() {