source: imaps-frontend/node_modules/es-errors/test/index.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 356 bytes
Line 
1'use strict';
2
3var test = require('tape');
4
5var E = require('../');
6var R = require('../range');
7var Ref = require('../ref');
8var S = require('../syntax');
9var T = require('../type');
10
11test('errors', function (t) {
12 t.equal(E, Error);
13 t.equal(R, RangeError);
14 t.equal(Ref, ReferenceError);
15 t.equal(S, SyntaxError);
16 t.equal(T, TypeError);
17
18 t.end();
19});
Note: See TracBrowser for help on using the repository browser.