mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
14 lines
378 B
JavaScript
14 lines
378 B
JavaScript
var assert = require('assert'),
|
|
error = require('../../lib/error/index');
|
|
|
|
describe('index.js', function () {
|
|
|
|
it('should contain error namespace', function () {
|
|
assert.equal(typeof error, 'object');
|
|
assert('ArgumentsError' in error);
|
|
assert('DimensionError' in error);
|
|
assert('IndexError' in error);
|
|
assert('UnsupportedTypeError' in error);
|
|
});
|
|
|
|
}); |