UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

20 lines (15 loc) • 356 B
'use strict'; var test = require('tape'); var E = require('../'); var R = require('../range'); var Ref = require('../ref'); var S = require('../syntax'); var T = require('../type'); test('errors', function (t) { t.equal(E, Error); t.equal(R, RangeError); t.equal(Ref, ReferenceError); t.equal(S, SyntaxError); t.equal(T, TypeError); t.end(); });