index.js 356 B

12345678910111213141516171819
  1. 'use strict';
  2. var test = require('tape');
  3. var E = require('../');
  4. var R = require('../range');
  5. var Ref = require('../ref');
  6. var S = require('../syntax');
  7. var T = require('../type');
  8. test('errors', function (t) {
  9. t.equal(E, Error);
  10. t.equal(R, RangeError);
  11. t.equal(Ref, ReferenceError);
  12. t.equal(S, SyntaxError);
  13. t.equal(T, TypeError);
  14. t.end();
  15. });