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=db1b282631d29b21ca028ce39d8bb84a232612c3;hpb=5ce60de5e64a735e575fb02cf8944d1b1d4f000c 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