UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

15 lines (10 loc) 357 B
// 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/); }) });