[chore] add test set
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jay 2020-06-10 14:15:02 +00:00
parent 464e42ba1c
commit cdbecea36d
1 changed files with 2 additions and 0 deletions

View File

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