Intial Commit
This commit is contained in:
14
nodered/rootfs/data/node_modules/mathjs/test/deprecated.test.js
generated
vendored
Normal file
14
nodered/rootfs/data/node_modules/mathjs/test/deprecated.test.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// test error messages for deprecated functions
|
||||
var assert = require('assert');
|
||||
var math = require('../index');
|
||||
|
||||
describe('deprecated stuff', function() {
|
||||
|
||||
it('should throw a deprecation error when using UpdateNode', function () {
|
||||
|
||||
assert.throws(function () {
|
||||
new math.expression.node.UpdateNode();
|
||||
}, /UpdateNode is deprecated/);
|
||||
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user