We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ValidateError
1 parent ebbbe2c commit ff781d7Copy full SHA for ff781d7
src/index.js
@@ -1,3 +1,5 @@
1
const validate = require('./validate');
2
+const validateError = require('./ValidationError');
3
4
module.exports = validate.default;
5
+module.exports.ValidateError = validateError.default;
test/api.test.js
@@ -0,0 +1,8 @@
+import schemaUtils from '../src/index';
+
+describe('api', () => {
+ it('should export validate and ValidateError', () => {
+ expect(typeof schemaUtils).toBe('function');
6
+ expect(typeof schemaUtils.ValidateError).toBe('function');
7
+ });
8
+});
0 commit comments