mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Upgraded to typed-function v0.6.0
This commit is contained in:
parent
e11f08ae73
commit
fe5faad794
@ -49,7 +49,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"decimal.js": "^4.0.1",
|
||||
"typed-function": "^0.5.0"
|
||||
"typed-function": "^0.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"webpack": "latest",
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user