lml-main
Version:
This is now a mono repository published into many standalone packages.
15 lines (10 loc) • 357 B
JavaScript
// 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/);
})
});