initial commit
[squeep-indie-auther] / test / src / errors.js
diff --git a/test/src/errors.js b/test/src/errors.js
new file mode 100644 (file)
index 0000000..509f3b1
--- /dev/null
@@ -0,0 +1,15 @@
+/* eslint-env mocha */
+'use strict';
+
+const assert = require('assert');
+const Errors = require('../../src/errors');
+
+describe('Errors', function () {
+  describe('ValidationError', function () {
+    it('covers', function () {
+      const e = new Errors.ValidationError('message');
+      assert.strictEqual(e.name, 'ValidationError');
+      assert.strictEqual(e.stack, undefined);
+    });
+  });
+}); // Errors
\ No newline at end of file