[chore] add test set
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay 2020-06-10 14:15:02 +00:00
parent 464e42ba1c
commit cdbecea36d

View File

@ -24,5 +24,7 @@ describe('test validate type schema object', () => {
}).required() }).required()
throwFunc(obj.validate({ name: 'asd' })) throwFunc(obj.validate({ name: 'asd' }))
expect(throwFunc(obj.validate({ name: 123 }))).toThrow()
}) })
}) })