feature/modify-types-init-value #7
@ -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