release/0.0.3 #8
@ -24,5 +24,7 @@ describe('test validate type schema object', () => {
|
||||
}).required()
|
||||
|
||||
throwFunc(obj.validate({ name: 'asd' }))
|
||||
|
||||
expect(throwFunc(obj.validate({ name: 123 }))).toThrow()
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user