X-Git-Url: http://git.squeep.com/?p=squeep-mystery-box;a=blobdiff_plain;f=test%2Flib%2Ferrors.js;fp=test%2Flib%2Ferrors.js;h=0a316201360f909fce3cb45ff63d04dae9609bdd;hp=0000000000000000000000000000000000000000;hb=6c9e123b3c10ef5caafc1a5f352a4705a8579ca9;hpb=2ef5f9c74d92c8eb8cc0bd03fecc9d1a1d306489 diff --git a/test/lib/errors.js b/test/lib/errors.js new file mode 100644 index 0000000..0a31620 --- /dev/null +++ b/test/lib/errors.js @@ -0,0 +1,11 @@ +'use strict'; + +const assert = require('assert'); +const { MysteryBoxError } = require('../../lib/errors'); + +describe('Errors', function () { + it('MysteryBoxError', function () { + const e = new MysteryBoxError(); + assert.strictEqual(e.name, 'MysteryBoxError'); + }); +}); // Errors \ No newline at end of file